Useful Commands For Linux

lsList directories
moreReveal contents of a file
lessSimilar to more, but faster
man COMMANDShow manual pages for "COMMAND"
cdChange directories
mkdirMake directories
rmdirRemove directories
rmRemove a file
mvMove a file
cpCopy
geditA simple text editor
emacsAs above
chmodChange read and write permissions of files (see man pages)
topLists running processes
tar xzf filename.tar.gzExtract 'filename.tar.gz' into current directory
ssh -X username@turing.dur.ac.ukLog in to department from outside computer. To login to ITS space replace 'turing' with 'vega'
sftp username@turing.dur.ac.ukTransfer files to and from department computer

N.B. For most commands you can use the 'tab' key to auto complete your command.


© Andrew Iskauskas.