absolute path
/home/mgk25/wg/teaching/unixtools/Makefile
relative path
f2.txt or wg/teaching/ or ../../proj/phd.tex
print current working directory: pwd
pwd – starting point whenever you provide just a filename / subdirectories to descend into
synonym for cwd
single dot
listing a directory
: ls or ls -la or ls path
if file starts with . ls doesn’t show it, -la … l = long format, a = all files including ones starting with .
text editor
emacs path, nano path
deleting a file:
rm path
make a new directory: mkdir path
deleting an (empty) directory: rmdir path
rename or move a file or directory: mv oldpath newpath
leave:
exit
Remote login
SSH
- linux.cl.ds.cam.ac.uk,