Questions and CORRECT Answers
read - CORRECT ANSWER - read from stdin and assign to variables. Fails with pipes
test - CORRECT ANSWER - evaluate condional expression. Use in if statements
bc - CORRECT ANSWER - calculator. You can also echo to python
tac - CORRECT ANSWER - reverse a file.
sed - CORRECT ANSWER - manipulate text streams.
tr - CORRECT ANSWER - translate or delete characters. Use '\t' and \n'.
cut - CORRECT ANSWER - print only parts of lines.
uniq - CORRECT ANSWER - print only unique lines.
sort - CORRECT ANSWER - sort lines.
paste - CORRECT ANSWER - merge lines of a file. pinfo
tree - CORRECT ANSWER - print directory tree.
tty - CORRECT ANSWER - file name of terminal.
, uptime - CORRECT ANSWER - time since last reboot.
which - CORRECT ANSWER - full path of command.
uname - CORRECT ANSWER - get system information.
lscpu - CORRECT ANSWER - info about cpu. look for vmx in flags for virtuatlization
mandb - CORRECT ANSWER - create/update man page cache.
updatedb - CORRECT ANSWER - update file database.
man - CORRECT ANSWER - read man pages. -K searches all text
file - CORRECT ANSWER - determines file type.
stat - CORRECT ANSWER - info about a file.
chmod - CORRECT ANSWER - change file permissions.
chown - CORRECT ANSWER - change file ownership.
chgrp - CORRECT ANSWER - change group ownership.
chage - CORRECT ANSWER - change password aging.
su - CORRECT ANSWER - switch user.