Basic Unix Quiz - 2

Description: Basic Unix Quiz - 2
Number of Questions: 10
Created by:
Tags: unix
Attempted 0/10 Correct 0 Score 0

Which of the following commands is used to display the directory attributes rather than its contents?

  1. ls -1 -d

  2. ls -1

  3. ls -x

  4. ls -F


Correct Option: A

The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:

  1. 000

  2. 755

  3. 744

  4. 555


Correct Option: B

Which of the following is not a communication command.

  1. write

  2. mesg

  3. mail

  4. grep


Correct Option: D

Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

  1. cat emp[!0-9]

  2. more [emp][!0-9]

  3. cat emp[x-z]

  4. cat emp[a-z]


Correct Option: A

Which symbol is used to separate more than one command in the same command line?

  1. $

  2. #

  3. :

  4. ;


Correct Option: D
- Hide questions