Work on the command line | • Use single shell commands and one line command sequences to perform basic tasks on the command line. • Use and modify the shell environment including defining, referencing and exporting environment variables. • Use and edit command history. • Invoke commands inside and outside the defined path. | • bash • echo • env • export • pwd • set • unset • type • which • man • uname • history • .bash_history • Quoting |
Process text streams using filters | • Send text files and output streams through text utility filters to modify the output using standard UNIX commands found in the GNU textutils package. | • bzcat • cat • cut • head • less • md5sum • nl • od • paste • sed • sha256sum • sha512sum • sort • split • tail • tr • uniq • wc • xzcat • zcat |
Perform basic file management | • Copy, move and remove files and directories individually. • Copy multiple files and directories recursively. • Remove files and directories recursively. • Use simple and advanced wildcard specifications in commands. • Using find to locate and act on files based on type, size, or time. • Usage of tar, cpio and dd. | • cp • find • mkdir • mv • ls • rm • rmdir • touch • tar • cpio • dd • file • gzip • gunzip • bzip2 • bunzip2 • xz • unxz • file globbing |
Use streams, pipes and redirects | • Redirecting standard input, standard output and standard error. • Pipe the output of one command to the input of another command. • Use the output of one command as arguments to another command. • Send output to both stdout and a file. | • tee • xargs |
Create, monitor and kill processes | • Run jobs in the foreground and background. • Signal a program to continue running after logout. • Monitor active processes. • Select and sort processes for display. • Send signals to processes. | • & • bg • fg • jobs • kill • nohup • ps • top • free • uptime • pgrep • pkill • killall • watch • screen • tmux |
Modify process execution priorities | • Know the default priority of a job that is created. • Run a program with higher or lower priority than the default. • Change the priority of a running process. | • nice • ps • renice • top |
Search text files using regular expressions | • • Create simple regular expressions containing several notational elements. • Understand the differences between basic and extended regular expressions. • Understand the concepts of special characters, character classes, quantifiers and anchors. • Use regular expression tools to perform searches through a filesystem or file content. • Use regular expressions to delete, change and substitute text. | • grep • egrep • fgrep • sed • regex(7) |
Basic file editing | • Navigate a document using vi. • Understand and use vi modes. • Insert, edit, delete, copy and find text in vi. • Awareness of Emacs, nano and vim. • Configure the standard editor. | • vi • /, ? • h,j,k,l • i, o, a • d, p, y, dd, yy • ZZ, :w!, :q! • EDITOR |