Basic Unix Quiz - 5

Basic Unix Quiz - 5

9 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which command is used to display and create files?

  1. cat
  2. vi
  3. ed
  4. lyrix
Question 2 Multiple Choice (Single Answer)

The second set of the three permissions (r-) indicates that

  1. group has read permission only
  2. other has read permission only
  3. owner has read permission only
  4. group has write permission only
Question 3 Multiple Choice (Single Answer)

Which column contains all details of the permissions of a file when you issue the ls -l command?

  1. second
  2. fourth
  3. third
  4. first
Question 4 Multiple Choice (Single Answer)

Which of the following commands is used to display your working directory?

  1. dir
  2. prompt \$p\$g
  3. pwd
  4. path
Question 5 Multiple Choice (Single Answer)

While working with mail command, which command is used to save mail i a separate file?

  1. s
  2. r
  3. w
  4. d
Question 6 Multiple Choice (Single Answer)

The command used to compare the files is known as

  1. comp
  2. cmp
  3. do
  4. ccp
Question 7 Multiple Choice (Single Answer)

Which command is used to terminate a process?

  1. shutdown
  2. haltsys
  3. cancel
  4. kill
Question 8 Multiple Choice (Single Answer)

Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

  1. -m.n
  2. m.n
  3. n.m 1
  4. (m l).n
Question 9 Multiple Choice (Single Answer)

The cp command uses:

  1. standard input file
  2. standard output file
  3. both input and output file
  4. neither standard input nor standard output file