YUNOVA · Ethical Hacking · Module 3: Linux and tools for hackers
Bash one-liners for testers
Bash one-liners for testers
Key points
- Pipe (|) एक command का output दूसरी command को देता है, जैसे output को grep से छाँटना।
- sort, uniq, cut और wc जैसे commands बड़े output से काम की जानकारी निकालने में मदद करते हैं।
- > output को file में लिखता है और >> file के अंत में जोड़ता है; results save करने के लिए उपयोगी।
- for loop से एक ही command कई targets पर चला सकते हैं, पर सिर्फ़ scope में दिए targets पर।