Linux Online Test

TestDome skill assessments are used by more than 8,000 companies and 880,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Linux online test assesses candidates' knowledge of the Linux operating system and its programming using the Bash scripting language.

It's ideal for pre-employment screening. A good backend developer or Linux system administrator should be familiar with Linux as it's the most widely used server operating system.

This online test requires candidates to answer multiple-choice questions about the Linux kernel and its command line utilities.

Sample public questions

Hard
5 min
code
Public
Bash
Unix Pipelines

The weather.sh utility in the current working directory provides weather forecasts in your area.

When called, it outputs a 4-day forecast in the format "day: weather" separated by line breaks.

Write a bash script that outputs the number of days with a "Thunderstorm" forecast (case-sensitive).

See the example case for more details.

Hard
3 min
mca
Public
Linux Administration
Scheduling

The output of crontab -l contains the following job definitions:

MAILTO=candidate@testdome.org,admin@testdome.org
0 0,12 1 */4 * df -h /

@hourly du -h / >> /var/log/disk_usage

0 6 1-12 * * /usr/bin/testdome_candidates

Select the statements about the job definitions and schedules that are correct.

Easy
7 min
code
Public
Bash
File
Globbing

You ran a script that wrongly put its output image files in the 'work' directory inside the current directory.

Create a bash script that removes all the files in the 'work' directory that start with either 'out_0' or 'out_1' and end with '.png'.

For example, if the 'work' directory contains the following files: 

The 'work' directory contains png and pdf files

After running your script, both out.png and out_0.pdf should exist in the 'work' directory but out_0a.png and out_1.png should no longer exist.

See the example case for more details.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Linux test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

22 more premium Linux questions

Permissions, Top, Export, Mail, Rename, Sed, Hidden File, Authorized Keys, Remote Server, Testing for Crashes, New Package Manager, Server Crash, Wildlife Photography Page, Code Building Server, Compiler Executable, Vulnerable Function, Spell Checker, Time-Sheet Software, Virus Scanner, Problematic Executables, Generate Reports, Test New Computers.

Skills and topics tested

  • Linux Administration
  • Permissions
  • Processes
  • Bash
  • Environmental Variable
  • File
  • Strings
  • Authorization
  • Disk Partitioning
  • File System
  • Random
  • Filesystem Hierarchy Standard
  • Logging
  • Firewall
  • DNS
  • Searching
  • Unix Pipelines
  • Compression
  • Conditions
  • Symbolic Links
  • Conditional Statements
  • Iteration

For job roles

  • Back-End Developer
  • Bash Developer
  • Linux System Administrator
  • Network Administrator

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2022)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Related Linux Tests: