Education Series Unix 101 Class ------------------------------- Jennifer Scalf jscalf@andromeda.rutgers.edu -------------------------------------------------------------- How to connect to Newark Central Systems Solaris Unix Servers -------------------------------------------------------------- Use Putty (put "putty" into Google, download and install it) hostname: andromeda.rutgers.edu or pegasus.rutgers.edu username: your netid password: your password -------------------------------------------------------------- Basic Commands that are good to know -------------------------------------------------------------- Command Description ---------------------------------------------------------- cd x (or cd /x) go to directory x cd .. go down one directory x then [tab] [tab] view all commands starting with x ls (or dir) list a directory ls -al list a descriptive version of the files in the directory pico new_file open a new file names new_file using the pico text editor mv x y move or rename file x to file y cp x y copy file x to file y rm x delete a file mkdir x make a directory rmdir x remove a directory rm -r x remove directory x and all its underlying files man x get a manual page about command x less x view text file x echo print something on the screen cat print text file to the screen -------------------------------------------------------------- PINE Howto -------------------------------------------------------------- Before we get started, when you see $ "some words" that means you type in those "some words" on the command line. 1. Click on "Start", "Run" 2. telnet onto the pegasus or andromeda server ex.$ telnet your_user_id@pegasus.rutgers.edu or $ telnet your_user_id@andromeda.rutgers.edu (again ssh is safer but you use what you got) 3. $ pine 4. You see a list of options C - Compose Message I - Message Index L - Folder List A - Address Book etc etc 5. Select an option but pressing the corresponding letter. 6. We first select I to get a list of our in-box 6.1 The bottom most email is the newest. 6.2 Here is an explanation of the letters next to the message N - Not Read email A - Answered (you replied to the email) D - You've selected the email to be deleted U - You've selected it to not be deleted after you selected it to be deleted. Blank - You've read the email but not selected anything, it will be saved when you exit. 7. Reading email 7.1 Click on the email you want to read and press ENTER 8. Replying to Email 8.1 Click on email you want and press R 9. Sending a NEW Email 9.1 At anytime press C 9.2 Type in email address or get it from the your address book 9.3 Compose your email 9.4 Press CTR X 10. What is the list of commands under the email I composed or under any of the screen we see?? 10.1 VERY IMPORTANT That is a list of commands that you can perform in the screen you are in. ex. while reading an email press < to get back to your email list. or press > to get to your attachment. If you ever get lost in Pine and can't find your way out, just look at the bottom list of commands and you'll make it out OK. 11. Deleting email. 11.1 Click on email you want to delete and press D. When exiting it will be deleted. 12. Viewing your email files 12.1 Select L from the first menu that comes up in Pine. 12.2 You can make files by clicking on A and typing in a name. Then in the in-box you can Save files to that folder by click on S and typing in the file name. 13 To quit PINE 13.1 Press Q It will ask you if you really want to quit, press Y or N It will then ask if you want to expunge the emails you deleted, press Y or N.