Very basic UNIX commands
You get to the UNIX command prompt ($) by choosing 5. Liberty
functions from the Liberty menu, then choosing 1. UNIX from
the next menu. Here are a few essentials:
- To see a directory/list of files in your home directory
- type ls (that's 'ell ess') for a simple list
- type ls -l (that's 'ell ess space dash ell') for a more
detailed list
- To delete a file from your home directory
- type rm filename (e.g., rm myfile3) to
remove
the file. NB that this is permanent and irreversible!!!
- To rename a file
- type mv oldname newname (e.g., mv myfile1
myfile2 changes 'myfile1' to 'myfile2')
- To telnet to another computer
- At the $ prompt, type telnet address (e.g., telnet
hollis.harvard.edu to connect to Harvard's online catalog)
- To break a telnet connection, you can hit <CONTROL> ]
and at the telnet> prompt, type quit
- To return to the Liberty menu from the $ prompt
- type menu and hit ENTER twice
- To exit from the $ prompt