Linux Command Lines
cat common_roots.txt| awk '{if (length($0) > 7) print}' > passv2.txt
captures text that's more than 9 letters and put it into a different file.
---
sed
sed 's/ //g'
replace space with nothing
----
grep -B5 -A5 -i password FILE_NAME
look for 5 lines before and after the keyword "password" in the specified file.
Last modified 1yr ago