G.U. Linux Users’ reference card (student version) Note that Linux is cASe-sEnSITive - all commands should be written in lower-case. Use the 'TAB' key for command completion. Student central Linux server addresses: IP adddress: gul2.bim.gantep.edu.tr email address: username@mail2.gantep.edu.tr web address: http://www2.gantep.edu.tr/~username For information about your Linux system visit the following web-sites: http://www2.gantep.edu.tr/ and http://mail2.gantep.edu.tr/ and and send email to the system manager: system@gantep.edu.tr Commands and utilities (by example): Quitting your login session: exit Compiling a F77 program: fortran myprog.f Running a program: run myprog Breaking out of a running program: Ctrl-C Web browser (text only): lynx Creating a basic web page: makeweb Information about other users finger, w, what, when, top, ps aux Listing files: ls (short listing), ll (long listing) ll *.f (long list all files with extension .f) Moving (renaming) files: mv myprog.f myprog2.f Copying files: cp myprog.f myprog2.f Removing (deleting) files: rm myprog.f Creating directories: mkdir documents Removing directories: rmdir documents Moving between directories: cd documents takes you ‘down’ to documents cd .. takes you ‘up’ cd takes you to your ‘top’ directory pwd displays your present working directory If your username is yilmaz then your top directory is /home/yilmaz which is the same as ~/ A sub-directory e.g. documents can be addressed /home/yilmaz/documents or ~/documents mv ~/mydoc.txt ~/documents/ moves the file mydoc.txt to the sub-directory called documents; if you are in the top directory then you could type mv mydoc.txt documents/ |
G.U. Linux Users’ reference card (student version) Note that Linux is cASe-sEnSITive - all commands should be written in lower-case. Use the 'TAB' key for command completion. Student central Linux server addresses: IP adddress: gul2.bim.gantep.edu.tr email address: username@mail2.gantep.edu.tr web address: http://www2.gantep.edu.tr/~username For information about your Linux system visit the following web-sites: http://www2.gantep.edu.tr/ and http://mail2.gantep.edu.tr/ and send email to the system manager: system@gantep.edu.tr Commands and utilities (by example): Quitting your login session: exit Compiling a F77 program: fortran myprog.f Running a program: run myprog Breaking out of a running program: Ctrl-C Web browser (text only): lynx and links Creating a basic web page: makeweb Information about other users finger, w, what, when, top, ps aux Listing files: ls (short listing), ll (long listing) ll *.f (long list all files with extension .f) Moving (renaming) files: mv myprog.f myprog2.f Copying files: cp myprog.f myprog2.f Removing (deleting) files: rm myprog.f Creating directories: mkdir documents Removing directories: rmdir documents Moving between directories: cd documents takes you ‘down’ to documents cd .. takes you ‘up’ cd takes you to your ‘top’ directory pwd displays your present working directory If your username is yilmaz then your top directory is /home/yilmaz which is the same as ~/ A sub-directory e.g. documents can be addressed /home/yilmaz/documents or ~/documents mv ~/mydoc.txt ~/documents/ moves the file mydoc.txt to the sub-directory called documents; if you are in the top directory then you could type mv mydoc.txt documents/ |