Term
|
Definition
| go to your home directory |
|
|
Term
|
Definition
| go to the last directory you were in |
|
|
Term
|
Definition
| go up a directory cat : print file contents to the screen |
|
|
Term
|
Definition
|
|
Term
|
Definition
| shows all files (including ones that start with a period), directories, and details attributes for each file. |
|
|
Term
|
Definition
0 = --- No permission 1 = --X Execute only 2 = -W- Write only 3 = -WX Write and execute 4 = R-- Read only 5 = R-X Read and execute 6 = RW- Read and write 7 = RWX Read, write and execute
USER - GROUP - EVERONE |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
changes file ownership permissions The set of 2 go in this order from left to right: USER - GROUP |
|
|
Term
|
Definition
| Changes the owner of the file to root |
|
|
Term
| chown root.root myfile.txt : |
|
Definition
| Changes the owner and group of the file to root |
|
|
Term
|
Definition
| like cat, but only reads the end of the file |
|
|
Term
|
Definition
| see the last 20 (by default) lines of /var/log/messages |
|
|
Term
| tail -f /var/log/messages |
|
Definition
| watch the file continuously, while it's being updated |
|
|
Term
| tail -200 /var/log/messages |
|
Definition
| print the last 200 lines of the file to the screen |
|
|
Term
|
Definition
| like cat, but opens the file one screen at a time rather than all at once |
|
|
Term
|
Definition
| browse through the userdomains file. hit Spaceto go to the next page, q to quit |
|
|
Term
|
Definition
| friendly, easy to use file editor |
|
|
Term
| pico /home/burst/public_html/index.html |
|
Definition
| edit the index page for the user's website. |
|
|
Term
|
Definition
| another editor, tons of features, harder to use at first than pico |
|
|
Term
| vi /home/burst/public_html/index.html |
|
Definition
edit the index page for the user's website. Whie in the vi program you can use the following useful commands, you will need to hit SHIFT + : to go into command mode |
|
|
Term
|
Definition
| This force quits the file without saving and exits vi |
|
|
Term
|
Definition
| This writes the file to disk, saves it |
|
|
Term
|
Definition
| This saves the file to disk and exists vi |
|
|
Term
|
Definition
| EG :25 : Takes you to line 25 within the file |
|
|