Linux Commands

Linux Commands

Assessment

Quiz

Life Skills

9th - 12th Grade

Practice Problem

Medium

Created by

C. Dunlap

Used 14+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following commands in Linux is used to display information about files and directories contained within the current working directory?

pwd

ls

grep

ps

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A command-line command in Linux that allows to search files for lines containing a match to a given pattern is called:

rm

chmod

find

grep

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the Linux command-line commands listed below is used for directory traversal?

cd

dir

ps

dig

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following command can be used for turning off or restarting a Linux host.

reboot

shutdown

exit

taskkill

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Linux command displaying an absolute path to (i.e. full filename of) the current working directory is called:

mv

pwd

rm

dir

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Linux command-line command allowing a user to change his/her own password is known as:

pwd

pass

passwd

password

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the answers listed below refers to a Unix command for copying files and directories?

cp

copy

xcopy

robocopy

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?