Unix-3

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

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

    • Ls
    • Lp
    • Dir
    • Tar
    • None of the above
Please wait...
Unix-3 - Quiz

Quiz Preview

  • 2. 

    Which command will be used with vi editor to insert text to left of cursor?

    • S

    • S

    • A

    • I

    • None of the above

    Correct Answer
    A. I
  • 3. 

    Which option will be used with ps command to slow the entire command line of the process being run?

    • -4

    • -1

    • -4

    • -f

    • None of the above

    Correct Answer
    A. -f
  • 4. 

    Which of the following directories contain all the Ales created by a user, including his login directory?

    • /tmp

    • /etc

    • /usr

    • /dev

    • None of the above

    Correct Answer
    A. /usr
  • 5. 

    Which of the following command addresses all users who are currently hooked on?

    • Write

    • Mail

    • Wall

    • Mesg

    • None of the above

    Correct Answer
    A. Wall
  • 6. 

    Which of the following commands is used to obtain a list of all files by modification time?

    • Ls -1

    • Ls -t

    • Ls -i

    • Ls -R

    • None of the above

    Correct Answer
    A. Ls -t
  • 7. 

    Which of the following special shell variables is used to process number of the last background job?

    • $!

    • $#

    • $0

    • $*

    • None of the above

    Correct Answer
    A. $!
  • 8. 

    Which command is used to display a file contents in octal form?

    • Cd

    • Od

    • Of

    • Oct

    • None of the above

    Correct Answer
    A. Od
  • 9. 

    Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it

    • -r

    • -x

    • -i

    • -1

    • None of the above

    Correct Answer
    A. -i
  • 10. 

    In vi editor, forward search is performed using the command.

    • :pat

    • :/pat

    • -/pat

    • All the above

    • None of the above

    Correct Answer
    A. All the above

Quiz Review Timeline (Updated): Mar 7, 2012 +

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

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