Add string to beginning of each line (before existing strings) and output to new file - Useful for custom password lists (see also, Crunch in Security Tools List using -- "crunch -s" to achieve similar results)
Search for binaries with capabilities set (similar to SUID) (1,2)
getcap-r/2>/dev/null
Search for IPv4 address in a file
grep-E-o"([0-9]{1,3}[\.]){3}[0-9]{1,3}"filename
Find string within file(s)
grep-rnw'/path/to/somewhere/'-e'pattern'-ror-Risrecursive,-nislinenumber,and-wstandsformatchthewholeword.-l (lower-case L) can be added to just give the file name of matching files.-eisthepatternusedduringthesearch
Linux terminal control sequence commands
ctrl-cinterruptstherunningprogramctrl-dsendsanEOF (end offile) to close the terminalctrl-zsuspendstherunningprogramctrl-sfreezesthescreen,stoppingthedisplayctrl-qthawsoutthescreenandallowsthescreendisplaytocontinuectrl-hdeletesthelastcharactertypedctrl-wdeletesthelastwordtypedctrl-udeletesthelastlinetypedctrl-rretrievespreviouslyruncommandssoyoucanrunthemagainctrl-uremovestextfromthecommandlineandplacesitintheclipboardctrl-ygrabstextfromtheclipboardandrunsitctrl-lclearsthescreenctrl-amovescursortothebeginningofthelinectrl-emovescursortotheendoftheline