06 User and System Administration Commands Flashcards

1
Q

What command displays command summary and options?

A

man

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

How many sections are in the Linux user manual?

A

9

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

when executing sudo id command, what is the displayed ID number?

A

0

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

What commands should be used to obtain the status of the sshd service?

A

systemctl status sshd

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

what command will show the program that has opened port 19999

A

sudo ss -t -a -n -p

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

when a user is deleted with the deluser command, is the user’s home directory deleted by default

A

Yes, wehn the “–remove-home” option is used

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

which command is used to have the service cockpit start on system boot

A

systemctl enable –now cockpit

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

which command will reveal available memory on the system

A

free

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

What are the three parts of a command?

A

command, options, arguments

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

what command is used to change a group?

A

chgrp

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

what command do you use to see virtual memory usage?

A

vmstat

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

what command is used as a dns lookup utility?

A

dig

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

what command is used to monitor network usage in order to possibly tune the system for better network performance.

A

netstat

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

what command displays each step a network packet takes to get from the local host to the destination host. Can detect routing issues.

A

traceroute

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

what command is used to add a user to the system

A

adduser

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

what command is used to remove a user from the system

A

userdel

17
Q

what command modifies a user’s login info?

A

usermod

18
Q
A