Tag: unix

Questions Related to unix

Which of the following commands is used to update access and modification times of a file?

  1. grep

  2. wc

  3. touch

  4. cat


Correct Option: C

Which command is used to display a file contents in octal form?

  1. cd

  2. od

  3. of

  4. oct


Correct Option: B
  1. :pat

  2. :pat

  3. /pat

  4. All of the above


Correct Option: D

Which of the following command addresses all users who are currently hooked on?

  1. write

  2. mail

  3. wall

  4. mesg


Correct Option: C