OSA TEST

A visually engaging image depicting a user typing commands in a Linux terminal, with various command line icons and symbols around them, representing technology and learning.

Linux Command Line Proficiency Test

Test your knowledge of essential Linux commands with our interactive quiz! This quiz is designed for users who want to boost their command line skills. Whether you’re a beginner or looking to refresh your skills, this quiz will challenge you with various command line questions.

Key features of the quiz:

  • 28 engaging questions
  • Multiple choice format
  • Score based on correct answers
28 Questions7 MinutesCreated by CodingEagle57
Name:
Change password for current user or set new password? [linux]
Passwd
Password
Passw
Pass
What is the command to display current login user?
Whodis
Whoami
Id
User
What is the correct command that displays a message with a string?
Echo hello world
Echo "Hello"
What is the correct command that displays a message with a string?
Echo Hello $(whoami)
Echo Hello whoami
Echo "Hello $(whoami)"
What is the command to login as superuser?
Su -
Su superuser
Su - superuser
What is the command to display current directory?
Dir
Pwd
Cudir
What is the command to display the content of the current directory in long format?
Pwd ls
Ls - s
Ls -l
What is the command to display content of current directory?
Ls -cu
Ls
Ls -l
Ls -s
What is the command to display files with the filename starting with "red"?
Ls -red
Ls -display.red
Ls -l red
Ls .red
What is the command to display content of root directory?
Ls -root
Ls -l /
Ls -su
Ls -superuser
What is the command to display all hidden files?
Ls -hiddfiles
Ls .*
Ls .hidden
Ls -l /
Ls -a
What is the command to create a directory?
Mkdir
Mkdirectory
Makedir
Createdir
What is the command to enter a directory?
Seldir
Etdir
Cs dir
Cd dir
What is the command to change to home directory?
Cd ~
Ls -home
Gohome
Cd home
What is the command to change to root directory?
Ls root
Cd /
Chmod -root
Ch -root
What is the command to go back to previous working directory?
Return
Exit
Cd -
Cd -return
What is the command to create a file and content in a directory
Echo hello world hello.txt
Echo "hello world" hello.txt
Echo 'hello world' > hello.txt
Echo 'hello world' hello.txt
What is the command to display the contents of a file?
Open -hello.txt
Ls -hello.txt
Chmod -hello.txt
Cat hello.txt
What is the command to move a file within a directory into another directory?
Mv hello.txt dir2
Move hello.txt > dir2
Mv hello.txt > dir2
Move hello.txt dir2
What is the command to list all files in subdirectories?
List -all
Ls -Rl file1
Ls -all
Cat -all
What is the command to delete a file?
Del hello.txt
D -hello.txt
Rm hello.txt
Rm -hello.txt
What is the command to copy file to another file?
Copy hello.txt > hi.txt
Cp hello.txt hi.txt
Copy hello.txt hi.txt
Cp hello.txt > hi.txt
What is the command to delete a directory?
Deldir
Mrdir
Rm directory
Rmdir
What is the command to delete a directory with all its contents?
Deldir -all
Rmdir -all
Rm -r
Rmdir -r
What is the command to return back from root to normal account?
Su -
Exit
Close
/home
What is the command to to add user?
Ad -user2
Adduser user2
Cr -user2
Cr user2
What is the command to set password for added user?
Pass user2
Passwd user2
Pw -user2
Pw user2
{"name":"OSA TEST", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of essential Linux commands with our interactive quiz! This quiz is designed for users who want to boost their command line skills. Whether you’re a beginner or looking to refresh your skills, this quiz will challenge you with various command line questions.Key features of the quiz:28 engaging questionsMultiple choice formatScore based on correct answers","img":"https:/images/course3.png"}
Powered by: Quiz Maker