Sail E0 Webinar

MCQs

Total Questions : 149 | Page 14 of 15 pages
Question 131. The seventh field of /etc/password is
  1.    shell
  2.    home
  3.    password
  4.    None of these
  5.    login
 Discuss Question
Answer: Option A. -> shell
Question 132. Which command is used to display the end of the file?
  1.    None of these
  2.    tail
  3.    bof
  4.    eof
  5.    head - r
 Discuss Question
Answer: Option B. -> tail
Question 133. Which command is used to create a directory?
  1.    md
  2.    mkdir
  3.    None of these
  4.    crdir
  5.    cr
 Discuss Question
Answer: Option B. -> mkdir
Question 134. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?
  1.    find -name - mtime + 365 / - ok rm
  2.    find /user/* (-mtime + 365 - a - atime +365 ) - OK rm {} ;
  3.    find -mtime +365 | rm
  4.    grep (/usr/*) - mtime + 365 | -ok rm
  5.    None of these
 Discuss Question
Answer: Option B. -> find /user/* (-mtime + 365 - a - atime +365 ) - OK rm {} ;
Question 135. Which command is used to display the device name of the terminal you are using?
  1.    ls
  2.    None of these
  3.    stty
  4.    tty
  5.    who
 Discuss Question
Answer: Option D. -> tty
Question 136. Which of the following commands is used to summarize the disk usage?
  1.    disk
  2.    chkdsk
  3.    du
  4.    None of these
  5.    fdisk
 Discuss Question
Answer: Option C. -> du
Question 137. Which command is used to copy a file wb with the same name from the programs directory to the misc directory?
  1.    None of these
  2.    copy programs/wb misc/wb
  3.    copy a:programs/wb b:misc/wb
  4.    cp programs/wb misc
  5.    tar programs/wb misc/wb
 Discuss Question
Answer: Option D. -> cp programs/wb misc
Question 138. Which command is used to sort the lines of data in a file in alphabetical order?
  1.    sh
  2.    None of these
  3.    sort -r
  4.    st
  5.    sort
 Discuss Question
Answer: Option E. -> sort
Question 139. If a file has read and write permissions for the owner, then the octal representation of the permissions will be
  1.    1
  2.    6
  3.    5
  4.    None of these
  5.    3
 Discuss Question
Answer: Option B. -> 6
Question 140. Which shell's wild-cards is used to match a single character?
  1.    *
  2.    [ijk]
  3.    None of these
  4.    [!ijk]
  5.    ?
 Discuss Question
Answer: Option E. -> ?

Latest Videos

Latest Test Papers