Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| labs:unix_basics [2016/09/15 20:10] – [Changing Your Password] admin | labs:unix_basics [2024/09/03 20:34] (current) – [Basic Unix Commands] admin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| > man ls | > man ls | ||
| - | [[http:// | ||
| ===== Directory Access/ | ===== Directory Access/ | ||
| Line 33: | Line 32: | ||
| cp < | cp < | ||
| + | | ||
| + | For example | ||
| + | |||
| + | cp myfile.txt myfilecopy.txt | ||
| To copy a directory and its contents, use the '' | To copy a directory and its contents, use the '' | ||
| Line 45: | Line 48: | ||
| If the destination is a directory, then the file(s) are moved into that directory. | If the destination is a directory, then the file(s) are moved into that directory. | ||
| + | |||
| + | For example, to rename '' | ||
| + | |||
| + | mv myfile.txt newname.txt | ||
| ==== Delete Files ==== | ==== Delete Files ==== | ||
| Line 129: | Line 136: | ||
| Note that what you type for the passwords does not show up on the screen for your security. | Note that what you type for the passwords does not show up on the screen for your security. | ||
| - | ===== ssh ===== | ||
| - | |||
| - | ssh (**s**ecure **sh**ell) allows you to log into another machine and run your programs from there. | ||
| - | |||
| - | To ssh to another machine, you can simply type | ||
| - | |||
| - | ssh -XY othermachinename | ||
| - | |||
| - | The '' | ||
