Unix Commands:
NOTE all unix commands are case sensitive
- mkdir
used to create a new directory -- mkdir public_html
- rmdir
used to remove a directory -- rmdir classes
- chdir or cd
used to change to another directory -- cd goes to the root
cd .. goes up one level
cd fred goes down one level to fred
cd ../fred goes up one level and then back down to fred (which is at the current level)
- rm
used to erase a file -- rm Index.html
- mv
used to move a file -- mv Index.html index.html moves Index.html to index.html i.e. it renames it
mv index.html ../index.html -- moves index.html up one level in the directory structure
- cp
copies a file [just like mv except that the original remains]
- ctrl-Dor lo or logout
used to log off the system
- passwd
used to change password.
- note ctrl-alt-del is used to change the password in windows XP. I recommend that if you change your password in one place that you change it in the other place as well