Domain 2 Flashcards
cat -b
Adds line numbers
free
Shows available memory
type program-name
Will show programs directory
Ctrl z
Suspends running program
Bg and fg
Sends a program to background or foreground.
Can also use & e.g. blender&
Command history stuff
Ctrl a = beginning of line
Ctrl e = end of line
Delete key = del highlighted char
Ctrl t = move char on the left over one to the right
Search man pages
whatis
Man -k
Apropos
How to quit less
Q, :q or zz
Moving in less
Space bar = down
B = up
Wrap a command in terminal
\
Linked pages in info
Called nodes
find
Find - can search dir for a document that contains a string
find /usr/share/docs -name “password”
whereis
Used for finding files in root directories not user directories
locate
Searches database of file names
Shareable verses unshareable files FHS
Nonshareable files contain system specific information such as config files
shareable files containing data or program binary files
/
The root directory
/etc
System configuration files
/boot
Boot files such as Linux kernel initial RAMdisk