Sail E0 Webinar

MCQs

Total Questions : 296 | Page 7 of 30 pages
Question 61. Which command is used to print a file?
  1.    print
  2.    prn
  3.    pg
  4.    lp
  5.    None of the above
 Discuss Question
Answer: Option D. -> lp
Question 62. Which command will be used with vi editor to replace single character under cursor with any number of characters?
  1.    s
  2.    S
  3.    a
  4.    i
  5.    None of the above
 Discuss Question
Answer: Option A. -> s
Question 63. Which of the following set options is used with vi editor to ignore case while searching for patterns?
  1.    ic
  2.    ai
  3.    sm
  4.    ts
  5.    None of the above
 Discuss Question
Answer: Option A. -> ic
Question 64. 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 761 note
  2.    chmod 671 note
  3.    chmod 167 note
  4.    chmod 4=rwx, g=rw note
  5.    None of the above
 Discuss Question
Answer: Option A. -> chmod 761 note
Question 65. Which command is used to list out all the hidden files along with the other files?
  1.    ls -l
  2.    ls -x
  3.    ls -F
  4.    ls -a
  5.    None of the above
 Discuss Question
Answer: Option D. -> ls -a
Question 66. The chmod ugo+rw note command can be represented in octal notation as
  1.    chmod 555 note
  2.    chmod 666 note
  3.    chmod 444 note
  4.    chmod 333 note
  5.    None of the above
 Discuss Question
Answer: Option B. -> chmod 666 note
Question 67. 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.    ls ~ x
  4.    Ip
  5.    None of the above
 Discuss Question
Answer: Option A. -> ls -F -x
Question 68. Which command is used with vi editor to search a pattern in the forward direction?
  1.    /
  2.    ?
  3.    //
  4.    ??
  5.    None of the above
 Discuss Question
Answer: Option A. -> /
Question 69. Which of the following commands is used to assign executable permission to the owner of the file named "note"?
  1.    chmod g+x note
  2.    chmod u+w note
  3.    chmod u+x note
  4.    chmod ugo+x note
  5.    None of the above
 Discuss Question
Answer: Option C. -> chmod u+x note
Question 70. The command to count the number of files in the current directory by using pipes, is
  1.    ls | wc
  2.    ls -l | wc -l
  3.    ls | wc -w
  4.    ls | ws -c
  5.    None of the above
 Discuss Question
Answer: Option C. -> ls | wc -w

Latest Videos

Latest Test Papers