Directory Nav and Logging Flashcards

1
Q

cd . .

A

To go up one level of the directory tree. (Change into
the parent directory.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

cd

A

Go to the $HOME directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

cd /etc

A

Change to the /etc directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

alias goto=’cd /etc/’

A

Create goto alias for command cd /etc/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

dmesg

A

Display messages in kernel ring buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

journalctl

A

Display logs stored in the systemd
journal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

journalctl -u servicename

A

Display logs for a specific unit (service)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly