Note: UNIX, unlike IDL, is case sensitive. It's best to avoid using spaces in UNIX filenames -- use underscore instead:, e.g.
read_data.pro NOT read data.pro
| cd | Change Directory (to home directory) |
| cd blah | Change Directory (to directory called blah) |
| ls | LiSt files and directories in the current dir. ls -a |
| l s dirname | LiSt all files/dirs in dir called dirname |
| mkdir | MaKe DIRectory |
| rmdir | ReMove DIRectory (must be empty first) |
| mv name1 name 2 | MoVe a file called name 1 to a file called name 2, OR, |
| MoVe a file/dir called name1 into a dir callled name2. | |
| rm blah | ReMove a file called blah |
| vi name | Edit a file called name in the ``vi'' text editor |
| emacs name | Edit a file called name in the ``emacs'' text editor |
| xemacs name | Edit a file called name in the ``xemacs'' text editor |
I find emacs the easiest text editor to use. In emacs you may find the following useful (these are emacs not UNIX commands).
| Cntrl Z then Cntrl S | Save |
| Cntrl X then Cntrl C | Exit |