First created: Sunday 17th April 2005 10:58 PT, AHD Last updated: Sunday 30th March 2008 12:43 PT, AHD bash hints ---------- This document is an aide-memoire for the author and is not a tutorial for beginners. ********************** redo previous command: $ !! ********************** recursively search for a file from root directory: $ find / -name filename e.g. find / -name ifconfig results in: /sbin/ifconfig ********************** to find the ip address of your machine: # /sbin/ifconfig (full path needed) ********************** copy an entire directory, its subdirectories, and files: cp -R dirtocopy/ newdir/ e.g. cp -R data/ /var/www/data (data is created in /var/www) **********************