Sail E0 Webinar

MCQs

Total Questions : 296 | Page 8 of 30 pages
Question 71. Which of the following commands is used to get directory one level up?
  1.    cd
  2.    cd ..
  3.    cd/
  4.    chdir
  5.    None of the above
 Discuss Question
Answer: Option B. -> cd ..
Question 72. Which of the following commands is used to count the total number of lines, words, and characters contained in a file.
  1.    count p
  2.    wc
  3.    wcount
  4.    countw
  5.    None of the above
 Discuss Question
Answer: Option B. -> wc
Question 73. Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?
  1.    rm *
  2.    rm -r *
  3.    rm all
  4.    rm *.*
  5.    None of the above
 Discuss Question
Answer: Option B. -> rm -r *
Question 74. Which of the following commands is used to view your file 24 lines at a time?
  1.    pg
  2.    cat
  3.    lp
  4.    /p
  5.    None of the above
 Discuss Question
Answer: Option A. -> pg
Question 75. Which of the following commands is used to change the working directory?
  1.    cd
  2.    changedir
  3.    chdir
  4.    cdir
  5.    None of the above
 Discuss Question
Answer: Option A. -> cd
Question 76. Which shell's wild-cards is used to match a single character?
  1.    *
  2.    ?
  3.    [ijk]
  4.    [!ijk]
  5.    None of the above
 Discuss Question
Answer: Option B. -> ?
Question 77. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
  1.    .exrc
  2.    .profile
  3.    lastlogin
  4.    .mbox
  5.    None of the above
 Discuss Question
Answer: Option B. -> .profile
Question 78. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?
  1.    copy wb ../misc collect ../misc mon ../misc
  2.    cp wb collect mon ../misc
  3.    copy wb collect mon /misc
  4.    tar wb collect mon /misc
  5.    None of the above
 Discuss Question
Answer: Option B. -> cp wb collect mon ../misc
Question 79. The command chmod 761 note is equivalent to
  1.    chmod 167 note
  2.    chmod u=rwx, g=rw, o=x note
  3.    chmo a =761 note
  4.    chmod 4=7, g=6,0 =1 note
  5.    None of the above
 Discuss Question
Answer: Option B. -> chmod u=rwx, g=rw, o=x note
Question 80. The commonly used UNIX commands like date, ls, cat, etc. are stored in
  1.    /dev directory
  2.    /bin and /usr/bin directories
  3.    /tmp directory
  4.    /unix directory
  5.    None of the above
 Discuss Question
Answer: Option B. -> /bin and /usr/bin directories

Latest Videos

Latest Test Papers