Sail E0 Webinar

MCQs

Total Questions : 149 | Page 15 of 15 pages
Question 141. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
  1.    .exrc
  2.    lastlogin
  3.    .mbox
  4.    .profile
  5.    None of these
 Discuss Question
Answer: Option D. -> .profile
Question 142. The command chmod 761 note is equivalent to
  1.    None of these
  2.    chmod 4=7, g=6,0 =1 note
  3.    chmo a =761 note
  4.    chmod u=rwx, g=rw, o=x note
  5.    chmod 167 note
 Discuss Question
Answer: Option D. -> chmod u=rwx, g=rw, o=x note
Question 143. Which of the following commands is used to get directory one level up?
  1.    cd/
  2.    cd ..
  3.    chdir
  4.    None of these
  5.    cd
 Discuss Question
Answer: Option B. -> cd ..
Question 144. 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.    None of these
  2.    copy wb collect mon /misc
  3.    tar wb collect mon /misc
  4.    copy wb ../misc collect ../misc mon ../misc
  5.    cp wb collect mon ../misc
 Discuss Question
Answer: Option E. -> cp wb collect mon ../misc
Question 145. The commonly used UNIX commands like date, ls, cat, etc. are stored in
  1.    None of these
  2.    /dev directory
  3.    /tmp directory
  4.    /unix directory
  5.    /bin and /usr/bin directories
 Discuss Question
Answer: Option E. -> /bin and /usr/bin directories
Question 146. 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.    None of these
  5.    countw
 Discuss Question
Answer: Option B. -> wc
Question 147. Which of the following commands is used to view your file 24 lines at a time?
  1.    None of these
  2.    /p
  3.    lp
  4.    cat
  5.    pg
 Discuss Question
Answer: Option E. -> pg
Question 148. Which of the following commands is used to change the working directory?
  1.    None of these
  2.    cdir
  3.    chdir
  4.    cd
  5.    changedir
 Discuss Question
Answer: Option D. -> cd
Question 149. 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.    None of these
  3.    rm -r *
  4.    rm *.*
  5.    rm all
 Discuss Question
Answer: Option C. -> rm -r *

Latest Videos

Latest Test Papers