Introduc)on to Java, etc. August 2012 Connec)ng to the class server • Class server : bio5495-work.wustl.edu • Username = first ini)al last name for eg : aeinstein • Password = <username>123 for eg : aeinstein123 • Mac Users : Applicaons àUli)es à Terminal ssh
[email protected] • Windows Users : ssh client like PuTTy/ WinSCP Hostname = bio5495-work.wustl.edu (Last year the class server was Warlord, incase you no)ce it in the notes, read as class server) SSH and SFTP • Login : use secure shell – ssh
[email protected] • Transfer files : use secure file transfer protocol – sp
[email protected] Quick Unix Overview ls list files ls -l list files (long format) ls –a list all files (hidden too) man (command) help cd change directory mkdir make directory cp source folder copy source to folder mv source folder mover source to folder rm filename remove filename rmdir folder remove empty directory rm -rf folder remove directory and all its contents Need more? Search ‘unix commands cheat sheet’ Sp commands • cd folder: change current locaon to folder on the server • lcd folder :change current locaon to folder on the local machine • ls : list files in the current folder on the server • lls : list files in the current folder on the local machine • Once you are in the correct folders on both ends : – get file : download a file (accepts wildcards like "*") – put file : upload a file (accepts wildcards like "*") Java Development Environment • IDE (Integrated Development Environment) – Eclipse • hp://www.eclipse.org/downloads/