Search Header Logo

Practice: Linux Command-Line and Desktop OS

Authored by Wayground CTE

Information technology (IT)

9th Grade

Practice: Linux Command-Line and Desktop OS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A technician needs to see the full path of the current working directory in a Linux terminal. Which command displays this information?

Pwd

Cd

Find

Ls

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Linux admin wants to give the owner read, write, and execute permissions on a file, while denying all permissions to group and others. Which chmod command accomplishes this?

Chmod 777 filename

Chmod 700 filename

Chmod 644 filename

Chmod 755 filename

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user needs to install the Apache web server on an Ubuntu system using the command line. Which command correctly installs the package?

Yum install apache2

Apt-get install apache2

Sudo find apache2 --install

Su install apache2

4.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

A technician needs to check the IP address assigned to a network interface on a Linux machine. Which TWO commands can be used to inspect network interface information?

Dig localhost

Grep ifconfig

Ip addr

Ip link

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A technician wants to search the file /var/log/syslog for all lines containing the word 'error'. Which command accomplishes this?

Grep error /var/log/syslog

Find /var/log/syslog -name error

Cat error /var/log/syslog

Nano /var/log/syslog error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Linux admin needs to view all currently running processes along with CPU and memory usage in real time. Which command is best suited for this task?

Df

Ls -la

Ps

Top

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A technician needs to rename a file called report.txt to final_report.txt in the same directory. Which command should be used?

Chmod report.txt final_report.txt

Mv report.txt final_report.txt

Rm report.txt final_report.txt

Cp report.txt final_report.txt

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?