Unix Questions and Answers

Practice Mode
Showing 10 of 49 questions
Q41
 Which command is used to display and create files?
  • A cat
  • B vi
  • C ed
  • D lyrix
Answer: Option A
Q42
The second set of the three permissions (r-) indicates that
  • A group has read permission only
  • B other has read permission only
  • C owner has read permission only
  • D group has write permission only
Answer: Option A
Q43
Which column contains all details of the permissions of a file when you issue the ls -l command?
  • A second
  • B fourth
  • C third
  • D first
Answer: Option D
Q44
Which of the following commands is used to display your working directory?
  • A dir
  • B prompt $p$g
  • C pwd
  • D path
Answer: Option C
Q45
While working with mail command, which command is used to save mail i a separate file?
  • A s
  • B r
  • C w
  • D d
Answer: Option A
Q46
The command used to compare the files is known as
  • A comp
  • B cmp
  • C do
  • D ccp
Answer: Option B
Q47
Which command is used to terminate a process?
  • A shutdown
  • B haltsys
  • C cancel
  • D kill
Answer: Option D
Q48
Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?
  • A -m.n
  • B +m.n
  • C + n.m+1
  • D +(m+l).n
Answer: Option B
Q49
 The cp command uses:
  • A standard input file
  • B standard output file
  • C both input and output file
  • D neither standard input nor standard output file
Answer: Option D
Questions and Answers for Competitive Exams Various Entrance Test