06 User and System Administration Commands Flashcards
What command displays command summary and options?
man
How many sections are in the Linux user manual?
9
when executing sudo id command, what is the displayed ID number?
0
What commands should be used to obtain the status of the sshd service?
systemctl status sshd
what command will show the program that has opened port 19999
sudo ss -t -a -n -p
when a user is deleted with the deluser command, is the user’s home directory deleted by default
Yes, wehn the “–remove-home” option is used
which command is used to have the service cockpit start on system boot
systemctl enable –now cockpit
which command will reveal available memory on the system
free
What are the three parts of a command?
command, options, arguments
what command is used to change a group?
chgrp
what command do you use to see virtual memory usage?
vmstat
what command is used as a dns lookup utility?
dig
what command is used to monitor network usage in order to possibly tune the system for better network performance.
netstat
what command displays each step a network packet takes to get from the local host to the destination host. Can detect routing issues.
traceroute
what command is used to add a user to the system
adduser