CD (without argument) - takes you home
Kernel of the OS - the portion of the OS that interacts directly with computer hardware.
Communications between hardware and software.
File - a basic unit of storage
(T or F) Filenames are case sensitive - True
(T or F) Files in different directories cannot have identical names - False
What kind of files are hidden by ls, and other utilities? - files that start with .
Directory - a file that acts as a container for other files
Filesystem root - top level in filesystem hierarchy that holds all files and directories in the file
system
Filesystem root name - /
Pathname - includes name of the file, directory that holds that file, and every subsequent
directory up to the root
Absolute pathnames - starts at the root
2 absolute paths that don't start at the root - ~kschmidt/ & ~/
Your home directory - ~/
How are tokens separated in bash? - whitespace
Shell expects the first token to be - a command
Options (bash) - arguments that start with a dash, -, or two dashes, --
(CMD) ls - list contents of a directory
(CMD) ls -a - list contents of a directory including hidden files
(CMD) ls -l - list contents of a directory in long form
, (CMD) pwd - print current directory
(CMD) cd - change directory
What does cd do by default? - takes you home
(CMD) cat - concatenate (view text files)
(CMD) less/more - paging utilities
(CMD) od - octal dump used to view raw data
(CMD) rm - remove file
(CMD) cp - copy file
(CMD) mv - move file
What command would you use to rename a file? - mv
(CMD) mkdir - make directory
(CMD) rmdir - remove directory
How do you rename a directory? - mv
(CMD) tar - makes one large file from many smaller files
(CMD) head -n - displays first n lines of input
(CMD) tail -n - displays last n lines of input
(CMD) grep - search input using regular expressions
(CMD) sort - sorts inputs by lines
How does sort arrange records by default? - lexically
(CMD) sort -n - sort inputs by lines numerically
(CMD) sort -u - sort and remove duplicates
(CMD) uniq - removes identical, adjacent lines