Command Line Flashcards
od
display file content’s in octal
nl
number lines in text file
sort
sorts in alphabetic order
sort -n
sort in numerical order
less
pager utility lets you move through file one page at a time, more flexible than more
head
lists top ten lines of text file
tail
shows last ten lines of text file
wc
displays file lines, words, and bytes
uniq
finds repeat lines in a text file
md5sum
can check a files integrity
name the secure hash algorithms
sha224sum, sha256sum, sha384sum, sha512sum
secure hash algorithms
can be used to check file integrity, generally used for cryptography
grep
filters text files
STDOUT
directs output to terminal
>
sends the command’s output
> >
appends data to preexisting file
The file descriptor that identifies a command or script file error is
2
how do you make grep use extended regular expressions (ERE)?
grep -E or egrep