Cli Commands Module 2 Flashcards
1
Q
find /var/ -name dpkg.log
A
locates historical records of the installation package
2
Q
find /var/ -name dpkg.log 2 >/dev/null
A
to redirect the error messages and prevent them from being displayed
3
Q
grep firefox /var/log/dpkg.log
A
to find the time that firefox was installed
4
Q
grep rw password. – color
A
to find how many times the word passwords appears in files located in your home directory
5
Q
“history”
A
shows all commands you have used
6
Q
.bash_history
A
only contains the first lines of the history command