Search Header Logo

Linux Command Line Quiz

Authored by Sheeba Shivaraj

Education

University

Used 1+ times

Linux Command Line Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to list the contents of a directory in Linux?

list

ls

dir

show

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to change file permissions in Linux?

chmod

chperm

perm

setperm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the root directory in Linux?

/root

/etc

/home

/

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default shell used in most Linux distributions?

Zsh

Fish

Bash

Csh

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to view the current working directory?

ls

pwd

cd

dir

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `touch` command do?

Deletes a file

Renames a file

Changes a file's content

Creates a new empty file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to search for a pattern in files?

search

look

find

grep

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?

Discover more resources for Education