Search Header Logo

OS quiz1

Authored by TVK Purna Prasad

Other

University

Used 2+ times

OS quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the contents of a file in Unix?

cat 

ls 

pwd 

rm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to compress files?

gzip 

bzip2 

zip 

tar

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to sort the lines of data in a file in reverse order?

sort 

uniq 

tac 

head

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the beginning of a file in Unix?

cat 

head

 tail 

more

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used with the tail command to print the file from the selected line?

>

 |

  >>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to delete all files in a directory?

rm

 rm -r 

rmdir

 df

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to change the current directory?

cd 

pwd 

ls 

rm

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?