Unix-2

10 Questions | Total Attempts: 209

SettingsSettingsSettings
Please wait...
Unix Quizzes & Trivia

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

  • 2. 
    Which of the following is not a communication command.
    • A. 

      Write

    • B. 

      Mesg

    • C. 

      Mail

    • D. 

      Grep

    • E. 

      None of the above

  • 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

  • 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

  • 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

  • 6. 
    Which command is used to remove a file?
    • A. 

      Remove

    • B. 

      Rm

    • C. 

      Mv

    • D. 

      Del

    • E. 

      None of the above

  • 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

  • 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

  • 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

  • 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