Basic Linux

77 Questions | Attempts: 143
Share

SettingsSettingsSettings
Technical Quizzes & Trivia

Basic Linux


Questions and Answers
  • 1. 

    Describe the moon

  • 2. 

    Command used to create an empty file.

    • A.

      Mtfile

    • B.

      Touch

    • C.

      Intouch

    • D.

      File

    Correct Answer
    B. Touch
  • 3. 

    Which is the commmand used to remove or delete file with out confirmation msg ?

    • A.

      Rm-f

    • B.

      Rm

    • C.

      Del

    • D.

      Remove

    Correct Answer
    B. Rm
    Explanation
    "rm" this command removes/deleates the file which is not required,but it does not display confirmation message.

    Rate this question:

  • 4. 

    ........command is used to show the logger or user

    • A.

      ?

    • B.

      Who

    • C.

      No of

    • D.

      ???

    Correct Answer
    B. Who
    Explanation
    this command shows the who is logged or who is the user.........

    Rate this question:

  • 5. 

    "cat" is the command used to

    • A.

      Change directory

    • B.

      Move directory

    • C.

      Come out of shell

    • D.

      See the contents of file

    Correct Answer
    D. See the contents of file
    Explanation
    "cat" commands shows the compleate contenets of the file that is being used.

    Rate this question:

  • 6. 

    What command clears the contents of your terminal display?

    Correct Answer
    clear, Clear
  • 7. 

    What is the command to delete a file?

    Correct Answer
    rm
  • 8. 

    What do you type in to move to the parent directory?

    Correct Answer
    cd ..
  • 9. 

    What command is used to change directories?

    Correct Answer
    cd
  • 10. 

    What command is used to get the ip address of all interfaces on a server?

    Correct Answer
    ifconfig -a
  • 11. 

    What command and parameter (or switch) will force a program to quit (even one running in the background)?

    Correct Answer
    kill, kill -9
  • 12. 

    What command is used to change ownership of a file?

    Correct Answer
    chown
  • 13. 

    What command is used to copy a file?

    Correct Answer
    cp
  • 14. 

    What command(s) shows you disk partitions and percentage of disk space used?

    Correct Answer
    df, du
  • 15. 

    What command shows you how long it has been since the server was rebooted?

    Correct Answer
    uptime
  • 16. 

    What command shows you what directory you are in?

    Correct Answer
    pwd
  • 17. 

    What command displays your current username?

    Correct Answer
    whoami
  • 18. 

    What command shows you CPU and memory utilization for running processes?

    Correct Answer
    top
  • 19. 

    What command allows you to open and view a file one page at a time?

    Correct Answer
    less, more
  • 20. 

    Which command(s) show users that are logged in?

    Correct Answer
    who
  • 21. 

    What command is used to change a file name?

    Correct Answer
    mv
  • 22. 

    What is the command to switch to the root user account?

    Correct Answer
    su
  • 23. 

    What command is used to change the permissions of a file?

    Correct Answer
    chmod
  • 24. 

    What is the command to change your password?

    Correct Answer
    passwd
  • 25. 

    What command is used to display your previous commands?

    Correct Answer
    up arrow, Up arrow, fc, history
  • 26. 

    What is the command to run a program with elevated permissions?

    Correct Answer
    sudo
  • 27. 

    What command clears the contents of your terminal display?

    Correct Answer
    clear, Clear
  • 28. 

    What is the command to delete a file?

    Correct Answer
    rm
  • 29. 

    What do you type in to move to the parent directory?

    Correct Answer
    cd ..
  • 30. 

    What command is used to change directories?

    Correct Answer
    cd
  • 31. 

    What is the default directory path for system log files?

    Correct Answer
    /var/logs, /var/logs/
  • 32. 

    What command is used to get the ip address of all interfaces on a server?

    Correct Answer
    ifconfig -a
  • 33. 

    What command and parameter (or switch) will force a program to quit (even one running in the background)?

    Correct Answer
    kill, kill -9
  • 34. 

    What command is used to change ownership of a file?

    Correct Answer
    chown
  • 35. 

    What command is used to copy a file?

    Correct Answer
    cp
  • 36. 

    What command(s) shows you disk partitions and percentage of disk space used?

    Correct Answer
    df, du
  • 37. 

    What command shows you how long it has been since the server was rebooted?

    Correct Answer
    uptime
  • 38. 

    What command shows you what directory you are in?

    Correct Answer
    pwd
  • 39. 

    What command creates an empty directory?

    Correct Answer
    mkdir
  • 40. 

    What command displays your current username?

    Correct Answer
    whoami
  • 41. 

    What command shows you CPU and memory utilization for running processes?

    Correct Answer
    top
  • 42. 

    What command allows you to open and view a file one page at a time?

    Correct Answer
    less, more
  • 43. 

    Which command(s) show users that are logged in?

    Correct Answer
    who
  • 44. 

    What command is used to change a file name?

    Correct Answer
    mv
  • 45. 

    What is the command to switch to the root user account?

    Correct Answer
    su
  • 46. 

    What command is used to change the permissions of a file?

    Correct Answer
    chmod
  • 47. 

    What is the command to change your password?

    Correct Answer
    passwd
  • 48. 

    What command is used to display your previous commands?

    Correct Answer
    up arrow, Up arrow, fc, history
  • 49. 

    What is the command to run a program with elevated permissions?

    Correct Answer
    sudo
  • 50. 

    What command clears the contents of your terminal display?

    Correct Answer
    clear, Clear

Quiz Review Timeline +

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

  • Current Version
  • Dec 28, 2016
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 28, 2016
    Quiz Created by
    Smailfarook
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.