Sail E0 Webinar

MCQs

Total Questions : 296 | Page 6 of 30 pages
Question 51. Which command will be used with vi editor to replace text from cursor to right?
  1.    r
  2.    R
  3.    s
  4.    S
  5.    None of the above
 Discuss Question
Answer: Option B. -> R
Question 52. Which of the following commands is used to rename a file?
  1.    rename
  2.    remove
  3.    mv
  4.    ren
  5.    None of the above
 Discuss Question
Answer: Option C. -> mv
Question 53. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory?
  1.    copy programs/wb misc/wbx
  2.    cp programs/wb misc/wbx
  3.    tar programs/wb misc/wbx
  4.    copy a:programs/wb b:misc/wbx
  5.    None of the above
 Discuss Question
Answer: Option B. -> cp programs/wb misc/wbx
Question 54. Which of the following is not a filter?
  1.    cat
  2.    grep
  3.    wc
  4.    sort
  5.    None of the above
 Discuss Question
Answer: Option E. -> None of the above
Question 55. Which command is used to list all the files with extension .lst?
  1.    ls -l *.lst
  2.    ls lst*
  3.    ls *.*
  4.    ls *[lst]
  5.    None of the above
 Discuss Question
Answer: Option A. -> ls -l *.lst
Question 56. Which option is used with the chmod command recursively to all files and sub-directories in a directory?
  1.    -1
  2.    #NAME?
  3.    #NAME?
  4.    -R
  5.    None of the above
 Discuss Question
Answer: Option D. -> -R
Question 57. Which command is used to change directory to the name beginning with a 'p'?
  1.    cd p
  2.    cd p?
  3.    cd p*
  4.    cd [p]
  5.    None of the above
 Discuss Question
Answer: Option C. -> cd p*
Question 58. Which of the following is invalid filename?
  1.    shutry
  2.    TRY
  3.    trial
  4.    my .file
  5.    None of the above
 Discuss Question
Answer: Option E. -> None of the above
Question 59. Which commands is used to assign executable permission to all of the files named "letter"?
  1.    chmod ugo+r letter
  2.    chmod ugo+rw letter
  3.    chmod u+x letter
  4.    chmod ugo+x letter
  5.    None of the above
 Discuss Question
Answer: Option D. -> chmod ugo+x letter
Question 60. Which set option is used with vi editor to display line numbers on screen?
  1.    nm
  2.    nu
  3.    ic
  4.    li
  5.    None of the above
 Discuss Question
Answer: Option B. -> nu

Latest Videos

Latest Test Papers