Directory Nav and Logging Flashcards
1
Q
cd . .
A
To go up one level of the directory tree. (Change into
the parent directory.)
2
Q
cd
A
Go to the $HOME directory
3
Q
cd /etc
A
Change to the /etc directory
4
Q
alias goto=’cd /etc/’
A
Create goto alias for command cd /etc/
5
Q
dmesg
A
Display messages in kernel ring buffer
6
Q
journalctl
A
Display logs stored in the systemd
journal
7
Q
journalctl -u servicename
A
Display logs for a specific unit (service)