Ubuntu Linux Commands

389 questions in the bank
Are you ready to take quiz?
Explore more
Logo
About the Quiz

Quiz will ask 20 randomly selected questions with allotted time of . You can take the quiz more than once. Once you submit the quiz, you can review how you have done, the correct the answers for each questions and the explanation for the correct the answer.

Quiz Topics

10 Modules

Backup and Recovery

3 topics
1.

Creating backups (tar, rsync)

10 questions
2.

Restoring backups

10 questions
3.

Using cron for scheduled backups

10 questions

System Monitoring and Logs

3 topics

User Management

4 topics

Shell Scripting

4 topics

System Information

4 topics

Package Management

4 topics

Networking Commands

4 topics

Process Management

3 topics

Permissions and Ownership

4 topics

File Management

6 topics
Sample questions

What command would you use to list all files, including hidden files, in the current directory?

ls

ls -a

ls -l

ls --all

If you want to navigate to the parent directory of your current directory, which command would you use?

cd ..

cd /

cd ~

cd ../..

Which command would you use to display the full path of the current working directory?

pwd

ls

cd

echo $PWD

You are in the directory /home/user/docs and want to navigate to /home/user/music. Which command would you use?

cd ../music

cd /home/user/music

cd ../../music

cd ~/music

What does the command 'ls -l' display?

Only directories

Detailed information about files and directories

Only hidden files

File sizes in human-readable format

Quiz Topics

10 Modules

Backup and Recovery

3 topics
1.

Creating backups (tar, rsync)

10 questions
2.

Restoring backups

10 questions
3.

Using cron for scheduled backups

10 questions

System Monitoring and Logs

3 topics

User Management

4 topics

Shell Scripting

4 topics

System Information

4 topics

Package Management

4 topics

Networking Commands

4 topics

Process Management

3 topics

Permissions and Ownership

4 topics

File Management

6 topics