Sail E0 Webinar

MCQs

Total Questions : 149 | Page 8 of 15 pages
Question 71. Which command is used to print a file?
  1.    pg
  2.    prn
  3.    lp
  4.    print
 Discuss Question
Answer: Option C. -> lp
Question 72. Which command will be used with vi editor to replace single character under cursor with any number of characters?
  1.    S
  2.    a
  3.    s
  4.    A
 Discuss Question
Answer: Option C. -> s
Question 73. Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?
  1.    chmod 167 note
  2.    chmod 671 note
  3.    chmod 761 note
  4.    chmod 4=rwx, g=rw note
 Discuss Question
Answer: Option C. -> chmod 761 note
Question 74. Which command is used to list out all the hidden files along with the other files?
  1.    ls -x
  2.    ls -a
  3.    ls -F
  4.    ls -l
 Discuss Question
Answer: Option B. -> ls -a
Question 75. Which of the following set options is used with vi editor to ignore case while searching for patterns?
  1.    ts
  2.    ic
  3.    ai
  4.    sm
 Discuss Question
Answer: Option B. -> ic
Question 76. The chmod ugo+rw note command can be represented in octal notation as
  1.    chmod 333 note
  2.    chmod 666 note
  3.    chmod 555 note
  4.    chmod 444 note
 Discuss Question
Answer: Option B. -> chmod 666 note
Question 77. Which of the following commands is used to assign executable permission to the owner of the file named "note"?
  1.    chmod u+w note
  2.    chmod u+x note
  3.    chmod ugo+x note
  4.    chmod g+x note
 Discuss Question
Answer: Option B. -> chmod u+x note
Question 78. The command to count the number of files in the current directory by using pipes, is
  1.    ls | wc -w
  2.    ls | ws -c
  3.    ls | wc
  4.    ls -l | wc -l
 Discuss Question
Answer: Option A. -> ls | wc -w
Question 79. Which command is used with vi editor to search a pattern in the forward direction?
  1.    ??
  2.    ?
  3.    /
  4.    //
 Discuss Question
Answer: Option C. -> /
Question 80. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?
  1.    ls -F -x
  2.    ls -l
  3.    Ip
  4.    ls ~ x
 Discuss Question
Answer: Option A. -> ls -F -x

Latest Videos

Latest Test Papers