Search Header Logo

UNIX MODULE-1 QUIZ

Authored by Vijay Kumar S

Computers

University

Used 1+ times

UNIX MODULE-1 QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display a listing of file details such as date, size, and access permissions?

List all

Ls -full

Ls -l

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you display the contents of a file myfile.txt?

Type myfile.txt

List myfile.txt

Less myfile.txt

Cat myfile.txt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new directory called flower?

Newdir flower

Mkdir flower

Crdir flower

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Change the current directory to /usr/local/bin.

 

Mv /usr/local/bin

 

Cd /usr/local/bin

Setdir /usr/localbin

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove a directory?

rd

rmdir

dldir

rdir

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command sends the word count of the file infile to the newfile.

wc infile >newfile

wc <infile >newfile

wc infile - newfile

wc infile | newfile

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

cat emp[!0-9]

more [emp][!0-9]

cat emp[x-z]

cat emp[a-z]

None of the above

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?