CompTIA Linux+ Practice Test 2

CompTIA Linux+ Practice Test

1 / 10

What does the netstat -tuln command display?

2 / 10

Which command changes the ownership of a file named "data.txt" to the user "jane"?

3 / 10

What does the whoami command output?

4 / 10

Which utility checks the integrity of a filesystem on a Linux system?

5 / 10

What is the purpose of the crontab -e command?

6 / 10

Which command displays the last 10 lines of the /var/log/syslog file?

7 / 10

What does the tar -xzf archive.tar.gz command do?

8 / 10

Which file contains the default shell and home directory settings for a user?

9 / 10

What is the purpose of the systemctl restart sshd command?

10 / 10

Which command shows the disk space usage of all mounted filesystems?

Your score is

The average score is 0%

0%