| |
Useful Unix Commands
This version was saved 19 years ago
View current version Page history
Saved by PBworks
on February 19, 2007 at 2:34:15 pm
| cd | change directory | | pushd | flip between two different directories | | cp | copy | | mv | move | | rm | remove and erase | | ls | list what is in the directory | | ls -l | list what is in directory with more detail | | pwd | find out where you were | | mkdir | make new directory | | chown | change owner | | chown -R | change owner of everything in specified directory | | su | switch user | | chgrp | change group ownership | | chgrp -R | change group ownership of everything in specified directory | | diff | compare two files | | Ctrl + Z | suspends program | | fg | reactivates program/brings suspended back into foreground | | ls -alt | lists permission of all files in a directory | | chmod | changes permissions depending on what numbers you put in using chmod ### filename command. See table below for permission numbers. | | wc | count number of lines, words, and characters in a (text) file |
| # | Permission | | 7 | full | | 6 | read and write | | 5 | read and execute | | 4 | read only | | 3 | write and execute | | 2 | write only | | 1 | execute only | | 0 | none |
Useful Unix Commands
|
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.