CompTIA Linux+ Practice Test 5

CompTIA Linux+ Practice Test

1 / 10

What does the sed 's/old/new/g' file.txt command do?

2 / 10

Which command displays the routing table on a Linux system?

3 / 10

What does the passwd jdoe command do when run as root?

4 / 10

Which command mounts a filesystem located at /dev/sdb1 to /mnt/data?

5 / 10

What does the echo $PATH command output?

6 / 10

Which command lists all active systemd services?

7 / 10

What does the dd if=/dev/zero of=/tmp/test bs=1M count=100 command do?

8 / 10

Which command installs a package named "nginx" on a CentOS system?

9 / 10

What is the purpose of the /etc/hosts file?

10 / 10

Which command shows the current system uptime and load averages?

Your score is

The average score is 0%

0%