Getting started:
To access your pegasus account remotely, you'll need a version of ssh. Instructions on how to use ssh clients can be downloaded here (choose a client listed under Telnet (SSH) Client Information according to your operating system). To use ssh, be sure to use the Keyboard Interactive authentication method (under Quick Connect in the Windows ssh program). If you have problems doing this, please contact the Help Desk.
Here are instructions on downloading the Windows version of ssh we use in class: Go to this website, enter your Rutgers ID and password, and click on setup.exe.
Some simple Unix commands:
| Command | Action | Tutorial |
| ls | lists all files and subdirectories | Log into pegasus. Type ls (followed by ENTER of course). |
| mkdir | make a new subdirectory | Type mkdir program1. Type ls again. |
| cd | change directory | Type cd program1. Type ls again. |
| emacs | a text editor | Type emacs file1. A window should pop up. Type in some text. For example Hello. Type CONTROL-X CONTROL-S to save the file. Then CONTROL-X CONTROL-C to exit emacs. At the pegasus prompt, type ls. |
| cp | copy a file | Type cp file1 newfile. Type ls again. |
| rm | remove a file | Type rm file1. Type ls again. |
| cd .. | go back one level in directory | Type cd .. Type ls again. |
| more | prints a file to screen | Type cd program1. Type more newfile. |
| logout | log out of pegasus | Type logout. |