Alien head

Basic Unix Quiz - 5

Description: Basic Unix Quiz - 5
Number of Questions: 9
Created by:
Tags: unix

Which command is used to display and create files?



      
  1. cat

  2. vi

  3. ed

  4. lyrix

Answer: 1

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

Answer: 1

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

Answer: 4

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



      
  1. dir

  2. prompt $p$g

  3. pwd

  4. path

Answer: 3

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



      
  1. s

  2. r

  3. w

  4. d

Answer: 1

The command used to compare the files is known as



      
  1. comp

  2. cmp

  3. do

  4. ccp

Answer: 2

Which command is used to terminate a process?



      
  1. shutdown

  2. haltsys

  3. cancel

  4. kill

Answer: 4

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

Answer: 2

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

Answer: 4
+ View questions