#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
🐧 FREE · INSTANT SCORE

Linux MCQ Quiz: Check Your Command-Line Basics

Fifteen practical questions on the Linux shell, permissions and services.

  • ⌨️ Everyday commands
  • 🔐 Permissions and sudo
  • ⚙️ Processes and systemd

How to use the Linux MCQ Quiz

  1. 1. AnswerPick one option for each of the 15 questions.
  2. 2. ScoreSee how many you got right and the correct options.
  3. 3. LearnRead the short explanation beneath each question.

What is tested

The quiz checks the commands you use on any server: finding where you are with pwd, following a log with tail -f, the difference between > and >>, checking free disk space with df -h and finding which process holds a port with ss. It also covers what chmod 755 gives to other users, what sudo does, why kill -9 should be a last resort, how systemctl enable --now differs from start, which permission lets you enter a directory and which file lists user accounts.

A full set of right answers shows 15 / 15. Everything is scored in your browser.

Practise on a real shell

The fastest way to fix a wrong answer is to try the command. If you do not have a Linux machine, use Windows Subsystem for Linux, a free cloud shell, or a small virtual machine. Then work through a short routine:

  • Create a folder, add files, change their permissions and read the result with ls -l.
  • Start a long-running command, find it with ps, and stop it with kill.
  • Install a package, start its service with systemctl and read its log with journalctl.
  • Pipe grep into sort and uniq -c to count repeated lines in a log.

Keep the Linux commands cheat sheet open while you practise, and work out modes in the chmod calculator.

Frequently asked questions

Which distribution are the answers based on?

Mostly commands common to every distribution. Package questions mention apt for Ubuntu and Debian and dnf for Fedora and RHEL.

Can I retake the quiz?

Yes. Press Start again to clear your answers and try once more.

Is the Linux MCQ Quiz free?

Yes, the Linux MCQ Quiz is free. The first time you check your first score, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.

More free tools

See all free tools