Search Header Logo

Linux Commands

Authored by vamsi j

Computers

University

Used 17+ times

Linux Commands
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

What command is used to display the current working directory?

cd

ls

pwd

home

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new directory?

mkdir

rmdir

mkfile

touch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you list all files, including hidden files, in a directory?

ls -a

ls -l

ls -h

ls -r

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to move or rename files?

rm

cp

mv

ln

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display the first 10 lines of a file?

head

tail

cat

more

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command allows you to change the permissions of a file?

chmod

chown

chgrp

chmodgrp

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you search for a specific pattern in a file?

find

grep

sort

uniq

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?