CH-6: Basic Ubuntu Linux Commands (GSEB Computer Textbook Solutions Class 11)

Computer Textbook MCQ Solutions Class 11 

CH-6: Basic Ubuntu Linux Commands

1.       Which of the following command is used to count the total number of lines, words, and characters contained in a file?

a.       countw

b.      weount

c.       wc

d.      wordcount

 

2.       Which of the following command is used to remove files?

a.       dm

b.      rm

c.       delete

d.      erase

 

3.       Which of the following command is used to remove the directory?

a.       rdir

b.      remove

c.       rd

d.      rmdir 


4.       Which of the following command is used to count just the number of lines contained in a file?

a.       wc - r

b.      wc - w

c.       wc - c

d.      wc - l 


5.       The command chmod 761 letter is equivalent to which of the following access rights?

a.       chmod u=7, g = 6, o = 1

b.      chmod a = 761

c.       schmod u = rws, g = rw, o = x

d.      chmod 167

 

6.       Which of the following refers to the maximum length of a filename in Linux?

a.       8

b.      10

c.       200

d.      255

 

7.       The hierarchy of a series of directories branching in a user system starts from which of the following directories?

a.       \home

b.      \root

c.       /home

d.      /root

 

8.       Which of the following command is used to copy a file?

a.       tar

b.      cpio

c.       cp

d.      copy

 

9.       Which of the following command is used to display your current working directory?

a.       path

b.      pwd

c.       prompt $p$g

d.      dir

 

10.   Which of the following command is used for searching a pattern in a file?

a.       grep

b.      find

c.       lookup

d.      All of the above

 

11.   Which of the following is not a redirection symbol?

a.       >

b.     

c.       *

d.      >> 

 

12.   Which of the following syntax is correct to assign a read permission on a user file?

a.       chmod r filename

b.      chmod u+r filename

c.       chmod filename r

d.      chmod filename u+r

 

13.   Which of the following refers to the minimum arguments of ep command?

a.       One

b.      Two

c.       Three

d.      None

 

14.   The mv command in Linux is used for which of the following purpose?

a.       To rename a directory

b.      To move a file

c.       To copy a file

d.      All of the above

 

15.   Which of the following command is used to view one page content on the screen at a time?

a.       More

b.      more

c.       PAGE

d.      page

 

Manhar Rakholiya

I dont have tell them who am I, They already know me.

5 comments: