Sail E0 Webinar

MCQs

Total Questions : 296 | Page 25 of 30 pages
Question 241. Which command is used to assign only read permission to all three categories of the file 'note'?
  1.    chmod go+r note
  2.    chmod a-rw
  3.    chmod ugo=r note
  4.    chmod u+r,g+r,o-x note
  5.    None of the above
 Discuss Question
Answer: Option C. -> chmod ugo=r note
Question 242. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has
  1.    executable permission only
  2.    write and executable permissions
  3.    both read and executable permissions.
  4.    both read and write permissions
  5.    None of the above
 Discuss Question
Answer: Option D. -> both read and write permissions
Question 243. Which command will be used with vi editor to append text at end of line?
  1.    A
  2.    a
  3.    i
  4.    I
  5.    None of the above
 Discuss Question
Answer: Option A. -> A
Question 244. 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 245. 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 246. 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 247. 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 248. 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
Question 249. Which command is used to display and create files?
  1.    cat
  2.    vi
  3.    ed
  4.    lyrix
  5.    None of the above
 Discuss Question
Answer: Option A. -> cat
Question 250. The second set of the three permissions (r-) indicates that
  1.    group has read permission only
  2.    other has read permission only
  3.    owner has read permission only
  4.    group has write permission only
  5.    None of the above
 Discuss Question
Answer: Option A. -> group has read permission only

Latest Videos

Latest Test Papers