Linux Skills Assessment - Mop-centric

10 Questions | Total Attempts: 408

SettingsSettingsSettings
Please wait...
Operating System Quizzes & Trivia

A quick quiz to gauge the group's overall Linux skills. A short Linux-for-Tekelec-Professional-Services-Engineers class will be based on the data gathered. This quiz is anonymous. This test will not be graded. Please don't use online help with the exception of Linux "man" pages.


Questions and Answers
  • 1. 
    What is a "man" page?
    • A. 

      The front page of the Sports section.

    • B. 

      Directs you to use the white courtesy phone at the airport.

    • C. 

      A page detailing the usage and syntax of a particular Linux command.

    • D. 

      A page which describes how to manually perform tasks.

  • 2. 
    Which command below displays your current working directory?
    • A. 

      Dir

    • B. 

      Pwd

    • C. 

      Ls

    • D. 

      Whereami

    • E. 

      Cwd

  • 3. 
    Which command below would change your location to the "/tmp" directory?
    • A. 

      Cd /tmp

    • B. 

      Cd C:\tmp

    • C. 

      Mvdir /tmp

    • D. 

      Cd tmp

  • 4. 
    Which command below would list the contents of your current working directory?
    • A. 

      Show

    • B. 

      Dir

    • C. 

      Ls

    • D. 

      List

  • 5. 
    Which command(s) below can you use to view the contents of a text file? (Multiple correct answers, choose ALL that apply)
    • A. 

      Cat

    • B. 

      Less

    • C. 

      More

    • D. 

      Show

    • E. 

      Vi

    • F. 

      View

    • G. 

      Print

  • 6. 
    Which command(s) below can you use to reboot the machine? (Multiple correct answers, choose ALL that apply)
    • A. 

      Reboot

    • B. 

      Restart

    • C. 

      Shutdown -r now

    • D. 

      Shutdown -h now

    • E. 

      Init 6

  • 7. 
    Which command(s) below can you use to determine which user you are logged in as? (Multiple correct answers, choose ALL that apply)
    • A. 

      Echo $user

    • B. 

      Showme

    • C. 

      Whoami

    • D. 

      Id

    • E. 

      Showuser

  • 8. 
    Which command shows information about a Linux machine's filesystems and filesystem free space?
    • A. 

      Du -k

    • B. 

      Df -k

    • C. 

      Showmount

    • D. 

      Ls -lart

  • 9. 
    How can you show a list of your previously entered commands, filtered for the string "service"? (Multiple correct answers, choose ALL that apply)
    • A. 

      Cat ~/.bash_history | grep service

    • B. 

      Last | service

    • C. 

      History | grep service

    • D. 

      Sometimes a | is just a |

  • 10. 
    The "sed" command can be used to manipulate text strings in a file or files, without having to edit the file manually.  You are in a directory containing dozens of files., Some filesnames end with the .txt extension and some with the .cfg extension.  You want to replace the string "foo" with the string "bar" in every file ending in .txt using only one command.  Which command below would accomplish that?
    • A. 

      Sed -i "s/foo/bar"

    • B. 

      Sed -s "i/foo/bar/"

    • C. 

      Sed -i "s/foo/bar/" *.txt

    • D. 

      Sed -i "s/foo/bar/" *.*

Back to Top Back to top