Linux Operating System Quiz-3

13 Questions | Total Attempts: 283

SettingsSettingsSettings
Please wait...
Linux Quizzes & Trivia

Linux Quiz


Questions and Answers
  • 1. 
    Which Linux command is used to search for a specific word.
    • A. 

      More

    • B. 

      Cat

    • C. 

      Grep

    • D. 

      Pipe

  • 2. 
    Which command is used to list the files present in the directory you are in
    • A. 

      Grep

    • B. 

      More

    • C. 

      Cat

    • D. 

      Ls

  • 3. 
    Which command is used to Change Directory?
    • A. 

      Cd

    • B. 

      Cat

    • C. 

      Grep

    • D. 

      Ls

  • 4. 
    Which command would you use to check the disk space used on a system?
    • A. 

      Grep

    • B. 

      Netstat

    • C. 

      Df

    • D. 

      More

  • 5. 
    Which command is used to separate commands so you can do multiple things simultaneously?
    • A. 

      Pipe

    • B. 

      Grep

    • C. 

      More

    • D. 

      Less

  • 6. 
    Which of these commands can be used to view the contents of a file? (tick all that apply)
    • A. 

      More

    • B. 

      Less

    • C. 

      Cat

    • D. 

      Tail

    • E. 

      Top

    • F. 

      All of the above

  • 7. 
    What command do you type in to unzip a file?
  • 8. 
    What do you type in to zip an unzipped file?
  • 9. 
    Which of these are used for checking connectivity? (tick all that apply)
    • A. 

      Netstat

    • B. 

      Ping

    • C. 

      Grep

    • D. 

      Pipe

    • E. 

      All of the above

  • 10. 
    All Linux systems are accessed via Quest login?
    • A. 

      True

    • B. 

      False

  • 11. 
    Which of the below is an executable script?
    • A. 

      More tidy.log

    • B. 

      ./pvod_check

    • C. 

      Tail -f falm

    • D. 

      Cd database/cron_scripts

  • 12. 
    You are in the home/ssr/database/cron_scripts directory.What command do you type to return to the /home/ssr directory of this system? (tick all that apply)
    • A. 

      More

    • B. 

      Tail

    • C. 

      CTRL + C

    • D. 

      Grep

    • E. 

      Cd

    • F. 

      Cd ..

    • G. 

      Cd ../..

    • H. 

      Cd ../../..

  • 13. 
    If you're tailing a logfile, what command can you type in to bring back your command prompt?
    • A. 

      Cat

    • B. 

      ./menu

    • C. 

      Man

    • D. 

      CTRL+C

    • E. 

      Vi