On This Page

This set of Unix Operating System Multiple Choice Questions & Answers (MCQs) focuses on Unix Operating System Set 4

Q1 | Which of the following commands is used to identify the type of file by context?
  • ls
  • cat
  • file
  • more
Q2 | The filed separator in cut command is specified with
  • -a option
  • -d option
  • -r option
  • -x option
Q3 | Which of the following options will be used to display number of blocks used by a file?
  • -c
  • -i
  • -d
  • -s
Q4 | Which option will be used with touch command to change the access time?
  • -a
  • -b
  • -t
  • -h
Q5 | Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
  • chmod -r a+xprogs
  • chmod -r 222 progs
  • chmod -1 a+xprogs
  • chmod -x a+xprogs
Q6 | Which command is used to display and create files?
  • cat
  • vi
  • ed
  • lyrix
Q7 | The second set of the three permissions (r-) indicates that
  • group has read permission only
  • other has read permission only
  • owner has read permission only
  • group has write permission only