
umount /media/sda1 This makes sure that the drive is unmounted. It may generate an error if the drive is not mounted, but that is ok.
tree > directory.txt (creates a directory tree of the current directory in a text file named directory.txt) tree /F > directory.txt (creates a directory tree plus all
grep The grep utility, which allows files to be searched for strings of words, uses a syntax similar to the regular expression syntax of the vi,
How to start DHCP in Backtrack 4 pre-final ifconfig eth0 up (or use whatever your card is, eth0 is a common default. This command basically brings
Learn about common Mac OS X keyboard shortcuts. A keyboard shortcut is a way to invoke a function in Mac OS X by pressing a
./msfcli | grep osx/ (grep for only osx exploits) ./msfcli | grep windows/browser/ (grep for only windows browswer exploits) rexploit (reloads exploit) info exploit name (gives information about
echo 1 > /proc/sys/net/ipv4/ip_forward enables ipv4 forwarding on backtrack, and other distros. Bash commands cut -d” ” -f2 > new (cuts from an nmap grepable scan