Unix-2

10 Questions | Attempts: 212
Share
SettingsSettings
Please wait...
  • 1/10 Questions

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

    • Logic
    • Profile
    • Shell
    • Erxc
    • None of the above
Please wait...
Unix-2 - Quiz

Quiz Preview

  • 2. 

    Which command is used to remove a file?

    • Remove

    • Rm

    • Mv

    • Del

    • None of the above

    Correct Answer
    A. Rm
  • 3. 

    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

    Correct Answer
    A. Wc -c
  • 4. 

    Which of the following is not a communication command.

    • Write

    • Mesg

    • Mail

    • Grep

    • None of the above

    Correct Answer
    A. Grep
  • 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

    Correct Answer
    A. Touch
  • 6. 

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

    • Tee

    • Tr

    • Sort

    • Grep

    • None of the above

    Correct Answer
    A. Tee
  • 7. 

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

    • $

    • #

    • :

    • ;

    • None of the above

    Correct Answer
    A. ;
  • 8. 

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

    • Cat emp[!0-9]

    • More [emp][!0-9]

    • Cat emp[x-z]

    • Cat emp[a-z]

    • None of the above

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

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

    • }

    • {

    • |

    • $

    • None of the above

    Correct Answer
    A. }
  • 10. 

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

    • Tty ^c

    • Stty intr \^c

    • Stty echoe

    • Stty echo \^a

    • None of the above

    Correct Answer
    A. Stty intr \^c

Quiz Review Timeline (Updated): Feb 14, 2013 +

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