Resources‎ > ‎

Unix/Linux console


Login via Windows

Using PuTTY


Download and install PuTTY


1) Start PuTTY. In host name field, enter the address:

SIT server: ucpu0.ug.it.usyd.edu.au   (or ucpu1.ug.it.usyd.edu.au)
Click Open


2) For first time connecting, the server security key has not been seen before by PuTTY. You should allow the key to be added to the cache.
Click Yes



3) You will be asked a username and password. These will be the same SIT login account that you use for the lab computers.
Enter your username
Enter your password



PuTTY proxy setup

You can set the server in PuTTY options:
use HTTP
enter proxy server address
enter port number

Using Cygwin

Cygwin is a local unix like environment that you can have on your windows machine. It is good for having access to a variety of linux command line tools and also serves all the functionality of PuTTY.

Download and install Cygwin

You may need proxy settings before downloading all the packages.

Obtaining proxy server information

If you are in a large enterprise network such as university or a large office, chances are you will be using a proxy server to manage all the HTTP activity. This can be discovered on Windows in:

Control Panel -> Internet Settings 
    -> Connections tab
    -> LAN settings

You will find either an Use automatic configuration script is enabled with a URL of a .pac file 
OR
In the Proxy server section
Use a proxy server for your LAN

The address of the proxy server for the University of Sydney happens to be

Address:        web-cache.usyd.edu.au
Port:              8080

A reminder that this is showing you HOW to discover the proxy settings. You should NOT SET proxy settings for your home PC, or computers outside office or university networks.



Commands


Many introduction to unix/linux tutorials exist on the web. Find one that suits your understanding. Here is a brief account of some UNIX commands that you need to be familiar with:

 Command Description Example Example function
 pwdprint working directory pwd

 
 lslist directory contents ls
 ls project2
 list current directory
 
 mkdir make directory mkdir project2

 
 cd change directory cd project2
 cd ..
 cd ~
 go into directory "project2"
 go to the parent directory
 go to the home directory
 ssh

 secure remote login ssh sam@ucpu0.ug.it.usyd.edu.au

 login to the server "ucpu0.ug.it.usyd.edu.au" with username "sam"
mv move a file      mv readme.txt project2/readme.txt

 mv readme.txt readme_old.txt
 move the file "readme.txt" into the project2 directory

 rename the "readme.txt" file to "readme_old.txt" 
 cp copy a file cp readme.txt readme_copy.txt

 cp -r project2 project3
 copy file "readme.txt" to "readme_copy.txt"

 copy directory "project2" as "project3"
    

Special Notation

Some symbols when used with the above commands are interpreted by the terminal as follows:

 Notation Meaning
 . current directory 
 .. parent directory 
 /  directory separator
 ../.. parent of parent directory
 ~ home directory

When working with Windows cmd.exe know that using cd will require a different directory separator
    Windows directory separator is:  \
    Unix directory separator is:  /


A good minimalist reference for many commands in different systems can be found at ss64.

Comments