Sail E0 Webinar

MCQs

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

Latest Videos

Latest Test Papers