Essential Linux Commands Quiz
Test your knowledge of fundamental Linux command-line utilities
Questions
What does the command ifconfig do
- run a command as another user
- view and change information related to networking configuration
- quit
- passwd
What does the command q do
- quit
- run a command as another user
- start a new shell as another user
- change the file owner and group
What does the command vi do
- shut down linux
- change the password
- start the visual file editor
- copy files
What does the command pwd do
- display the current directory
- change the password
- start the visual file editor
- create a directory
What does the command rm do
- copy files
- paste files
- cut files
- delete files
What does the command grep do
- search for regular expressions in a text file
- change the current directory
- display contents of a directory
- delete files
What does the command ps do
- display contents of a directory
- delete files
- change the password
- display a list of currently running process
What does the command cp do
- copy files
- file copy
- paste files
- delete
What command do you use to quit
- su
- ps
- cp
- q
What command do you use for a wireless configuratoin
- ifconfig
- iwconfig
- q
- cd
What command do you use to view and change information related to networking configuration
- iwconfig
- ifconfig
- q
- dd
What command do you use to run a command as another user
- sudo
- su
- vi
- ps
What command do you use to start a new shell as another user
- vi
- su
- sudo
- q
What command do you use to change the password
- pwd
- apt-get
- mv
- passwd
What command do you use to start the visual file editor
- vi
- ps
- pwd
- passwd
What command do you use to shut down linux
- rm
- ps
- vi
- shutdown
What command do you use to display a list of currently running processes
- vi
- ps
- shutdown
- passwd
What command do you use to download files from a repository site
- shutdown
- apt-get
- ps
- vi
What command do you use to search for regular expressions in a text file
- grep
- dd
- chown
- cp
What command do you use to display the current directory
- pwd
- rm
- dd
- cd
What command do you use to delete files
- mv
- ls
- rm
- dd
What command do you use to rename a file and move the file from one directory to another
- mv
- dd
- ls
- cp
What command do you type in to create a directory
- mkdir
- rm
- grep
- ps
What command do you type in to display the contents of a directory
- cd
- mv
- dd
- ls
What command do you use to copy files
- cp
- rm
- ps
- cd
what command do you type in to change the file owner and group
- cp
- chown
- rm
- pwd
What command do you type in to change file permissions
- cd
- ls
- grep
- chmod
What command do you type in to change the current directory
- chmod
- cp
- cd
- dd