Q.1

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
  • None of the above
Q.2

Which command is used to display the device name of the terminal you are using?

  • who
  • ls
  • tty
  • stty
  • None of the above
Q.3

Which of the following keys is used to replace a single character with new text?

  • S
  • s
  • r
  • C
  • None of the above
Q.4

Which command is used to terminate a process?

  • shutdown
  • haltsys
  • cancel
  • kill
  • None of the above
Q.5

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

  • grep
  • wc
  • touch
  • cat
  • None of the above
Q.6

Which set option is used with vi editor to display line numbers on screen?

  • nm
  • nu
  • ic
  • li
  • None of the above
Q.7

Which option is used with the chmod command recursively to all files and sub-directories in a directory?

  • -1
  • -i
  • -x
  • -R
  • None of the above
Q.8

Which of the following commands can be used to get information about all users who are currently logged into the system?

  • which
  • who
  • who am i
  • 1 /u
  • None of the above
Q.9

Which command is used to terminate all processes in your own system except the login shell?

  • kill 1
  • kill 0
  • cancel all
  • cancel 1
  • None of the above
Q.10

Which of are following internal commands is used in mail to forward mail to user in user-list?

  • r user-list
  • m user-list
  • d user-list
  • e user-list
  • None of the above
Q.11

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

  • second
  • fourth
  • third
  • first
  • None of the above
Q.12

Which of the following special shell variables is used to process number of the current shell?

  • $!
  • $$
  • $0
  • $*
  • None of the above
Q.13

The ls -l command tells

  • who the owner of the file is
  • the name of the group owner of the file
  • how large the file is and when the file was last modified.
  • All of the above
  • None of the above
Q.14

Which option will be used with disk free command to include the total amount of disk space in the file system?

  • -t
  • -tt
  • -4
  • -i
  • None of the above
Q.15

Which command is used to extract specific columns from the file?

  • cat
  • cut
  • grep
  • paste
  • None of the above
Q.16

Which command sends the word count of the file infile to the newfile.

  • wc infile >newfile
  • wc <infile >newfile
  • wc infile - newfile
  • wc infile | newfile
  • None of the above
Q.17

Which command is used to assign only read permission to all three categories of the file 'note'?

  • chmod go+r note
  • chmod a-rw
  • chmod ugo=r note
  • chmod u+r,g+r,o-x note
  • None of the above
Q.18

The command used to remove the directory is;

  • rmdir
  • rd
  • remove
  • rdir
  • None of the above
Q.19

Which command is used with vi editor to save file and remain in the editing mode?

  • :q
  • :w
  • q!
  • :x
  • None of the above
Q.20

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

  • -m.n
  • +m.n
  • + n.m+1
  • +(m+l).n
  • None of the above
Q.21

Which command is used to count just the number of characters in a file?

  • wc - 1
  • wc -c
  • wc -w
  • wc -r
  • None of the above
Q.22

Which of the following commands is used to list contents of directories?

  • ls
  • lp
  • dir
  • tar
  • None of the above
Q.23

Which command is used to print a file?

  • print
  • prn
  • pg
  • lp
  • None of the above
Q.24

Which command is used to change directory to the name beginning with a 'p'?

  • cd p
  • cd p?
  • cd p*
  • cd [p]
  • None of the above
Q.25

Which of the following keys is used to overstrike a whole line?

  • R
  • v
  • C
  • u
  • None of the above
Q.26

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

  • dir
  • prompt $p$g
  • pwd
  • path
  • None of the above
Q.27

Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?

  • -l
  • -d
  • -r
  • -b
  • None of the above
Q.28

Which command is used to set the three permissions for all the three categories of users of a file?

  • chgrp
  • chown
  • chmod
  • chusr
  • None of the above
Q.29

Which command is used to remove the read permission of the file 'note' from both the group and others?

  • chmod go+r note
  • chmod go+rw note
  • chmod go-x note
  • chmod go-r note
  • None of the above
Q.30

Which command will be used with vi editor to append text at end of line?

  • A
  • a
  • i
  • I
  • None of the above
0 h : 0 m : 1 s