ls -F | grep /
tar cvf target.tar directoryToCompress
tar xvf target.tar
The search will check for certain string in all files under directory /. Result will show the filename.
find / | xargs grep patternToSearch
cat /dev/null > myFile.log
Show the ip address of all interface
/sbin/ifconfig -a
Capture the traffic at the network level for port 21
snoop -x -vV -P -o
snoop -x -vV -o nokia-ok2.trace host 192.168.1.10
Written by Hanny Tidore
[email protected]