Script Command
#script This will make a log of a terminal session Create a specific log of a session in a file called typescript or specify the filename with: script filename Exit…
Command Line Shtuff
#script This will make a log of a terminal session Create a specific log of a session in a file called typescript or specify the filename with: script filename Exit…
usage: namei namei -m /path/to/file/or/dir This will show the permission bits of each file type for every directory up to the last file or directory that you provide. Super handy…
There's a reason why cp is aliased to cp -i in _root's_ .bashrc and .cshrc/.tcshrc. After all, do you really want root to be able to overwrite a file without…
This blinks the LED on the interface for five seconds–without interrupting network traffic. ethtool -p eth0 5 supported only by the following drivers: ewrk3 s2io sky2 tg3 e100 pcnet32 bnx2…
This will run top once write the output to a file and exit. The command top can also be run so that it will give multiple reports. top -b -n1…
watch -d 'w | awk 'NR==4 {print "/dev/"$2}' | xargs fuser -k'
Watch will run the specified command repeatedly (by default, every two seconds) and display the output so you can watch it change over time. watch -d -n 15 ps auxf…