Unixbasic2

5 Questions | Attempts: 169
Share

SettingsSettingsSettings
Unixbasic2 - Quiz

This quiz will guide you to know where you stand in terms of basic unix commands usage.


Questions and Answers
  • 1. 

    Which command is used to display all the files?

    • A.

      Ls

    • B.

      Cat

    • C.

      Ls -a

    • D.

      Type

    • E.

      Dir

    Correct Answer
    C. Ls -a
  • 2. 

    Which command is used to modify the access time of a file?

    • A.

      Chmod

    • B.

      Chown

    • C.

      Touch

    • D.

      Cd

    • E.

      Grep

    Correct Answer
    C. Touch
  • 3. 

    Vim editor uses which hidden file for configuration settings

    • A.

      .bashrc

    • B.

      .exrc

    • C.

      .etcrc

    • D.

      .vimrc

    • E.

      .usrc

    Correct Answer
    D. .vimrc
  • 4. 

    How do we configure the vim editor to automatically add numbers to the file when it opens?

    • A.

      Se nu

    • B.

      Se bs

    • C.

      Se history

    • D.

      Se noai

    • E.

      Se nonu

    Correct Answer
    A. Se nu
  • 5. 

    Which command is used to view the file without modifying it ?

    • A.

      View

    • B.

      Cat

    • C.

      More

    • D.

      Head

    • E.

      Tail

    Correct Answer
    B. Cat

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 15, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 04, 2012
    Quiz Created by
    Pfulk
Back to Top Back to top
Advertisement