Sail E0 Webinar

MCQs

Total Questions : 296 | Page 3 of 30 pages
Question 21. The agency that sits between the user and the UNIX system is called the
  1.    logic
  2.    profile
  3.    shell
  4.    erxc
  5.    None of the above
 Discuss Question
Answer: Option C. -> shell
Question 22. Which of the following commands is used to update access and modification times of a file?
  1.    grep
  2.    wc
  3.    touch
  4.    cat
  5.    None of the above
 Discuss Question
Answer: Option C. -> touch
Question 23. Which command is used to count just the number of characters in a file?
  1.    wc - 1
  2.    wc -c
  3.    wc -w
  4.    wc -r
  5.    None of the above
 Discuss Question
Answer: Option B. -> wc -c
Question 24. Which of the following commands is used to list contents of directories?
  1.    ls
  2.    lp
  3.    dir
  4.    tar
  5.    None of the above
 Discuss Question
Answer: Option A. -> ls
Question 25. Which command is used to display a file contents in octal form?
  1.    cd
  2.    od
  3.    of
  4.    oct
  5.    None of the above
 Discuss Question
Answer: Option B. -> od
Question 26. Which command will be used with vi editor to insert text to left of cursor?
  1.    s
  2.    S
  3.    a
  4.    i
  5.    None of the above
 Discuss Question
Answer: Option D. -> i
Question 27. Which of the following special shell variables is used to process number of the last background job?
  1.    $!
  2.    $#
  3.    $0
  4.    $*
  5.    None of the above
 Discuss Question
Answer: Option A. -> $!
Question 28. In vi editor, forward search is performed using the command.
  1.    :pat
  2.    ?pat
  3.    /pat
  4.    All of the above
  5.    None of the above
 Discuss Question
Answer: Option C. -> /pat
Question 29. Which of the following command addresses all users who are currently hooked on?
  1.    write
  2.    mail
  3.    wall
  4.    mesg
  5.    None of the above
 Discuss Question
Answer: Option C. -> wall
Question 30. Which option will be used with ps command to slow the entire command line of the process being run?
  1.    -4
  2.    #NAME?
  3.    -1
  4.    -2
  5.    None of the above
 Discuss Question
Answer: Option B. -> #NAME?

Latest Videos

Latest Test Papers