Unix-2

10 Questions | Attempts: 212
Share

SettingsSettingsSettings
Unix-2 - Quiz

Questions and Answers
  • 1. 

    If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

    • A.

      Tty ^c

    • B.

      Stty intr \^c

    • C.

      Stty echoe

    • D.

      Stty echo \^a

    • E.

      None of the above

    Correct Answer
    B. Stty intr \^c
  • 2. 

    Which of the following is not a communication command.

    • A.

      Write

    • B.

      Mesg

    • C.

      Mail

    • D.

      Grep

    • E.

      None of the above

    Correct Answer
    D. Grep
  • 3. 

    Which of the following keys is used to move the cursor to the end of the paragraph.

    • A.

      }

    • B.

      {

    • C.

      |

    • D.

      $

    • E.

      None of the above

    Correct Answer
    A. }
  • 4. 

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

    • A.

      Cat emp[!0-9]

    • B.

      More [emp][!0-9]

    • C.

      Cat emp[x-z]

    • D.

      Cat emp[a-z]

    • E.

      None of the above

    Correct Answer
    A. Cat emp[!0-9]
  • 5. 

    The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

    • A.

      Tee

    • B.

      Tr

    • C.

      Sort

    • D.

      Grep

    • E.

      None of the above

    Correct Answer
    A. Tee
  • 6. 

    Which command is used to remove a file?

    • A.

      Remove

    • B.

      Rm

    • C.

      Mv

    • D.

      Del

    • E.

      None of the above

    Correct Answer
    B. Rm
  • 7. 

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

    • A.

      $

    • B.

      #

    • C.

      :

    • D.

      ;

    • E.

      None of the above

    Correct Answer
    D. ;
  • 8. 

    The agency that sits between the user and the UNIX system is called the

    • A.

      Logic

    • B.

      Profile

    • C.

      Shell

    • D.

      Erxc

    • E.

      None of the above

    Correct Answer
    C. Shell
  • 9. 

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

    • A.

      Grep

    • B.

      Wc

    • C.

      Touch

    • D.

      Cat

    • E.

      None of the above

    Correct Answer
    C. Touch
  • 10. 

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

    • A.

      Wc - 1

    • B.

      Wc -c

    • C.

      Wc -w

    • D.

      Wc -r

    • E.

      None of the above

    Correct Answer
    B. Wc -c

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 14, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 06, 2012
    Quiz Created by
    Himasri
Back to Top Back to top
Advertisement