codes Flashcards
displays file contents onscreen or provide file contents to standard output
cat FILENAME
display files 1 and 2
cat FILE1 FILE2
return to home directory
cd
move up one level in the directory tree
cd ..
move to the /etc directory relative to the system root
cd /etc
use a tilde as a shortcut to get to your home directory, this moves you to the subdirectory
cd ~/subdir
move to the Projects directory relative to the current directory
cd Projects
Filter backspaces and reverse line feeds out of input. Use to make man pages editable without odd formatting
col -b
Close your current process (often a shell) and your Unix session if you close the login shell
CTRL D
close your current shell and your Unix session if you are in login shell
exit
Use to view Filename screen by screen
less Filename
close your Unix session
logout
list files and directories
ls
list the files and directories in the root directory
ls /
list the files and directories in a directory
ls directoryname