Bash Online Test

Test real-world Bash skills that matter in a world with AI. Protected by AI proctoring.

For jobseekers

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

Take a Practice Test

For companies

Screen real Bash skills, flag human or AI assistance, and interview the right people.

Create a Bash Screening Test
From $7 per candidate

About the test

The Bash online test assesses knowledge of programming Bash scripts for a Linux environment. This test contains a series of live coding tasks that are executed on the Ubuntu server.

The assessment includes work-sample tasks such as:

  • Searching for files and their content.
  • Working with Unix pipelines for interprocess communication.
  • Using environmental variables to affect the behavior of running processes.

A good Bash developer or Linux administrator needs a solid understanding of the Bash scripting language as well as knowledge of Bash language constructs and commonly available utilities in Linux systems.

Sample public questions

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.

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.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Bash 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.

Create a Bash Screening Test
From $7 per candidate

Ready to interview?

Use these and other questions from our library with our
Code Interview Platform.

Sample image of the interviews app.

13 more premium Bash questions

Rename, Hidden File, Compiler Executable, Vulnerable Function, Time-Sheet Software, Virus Scanner, Test New Computers, Sed, Generate Reports, Spell Checker, Export, Problematic Executables, Mail.

Skills and topics tested

  • Bash
  • File
  • File System
  • Searching
  • Unix Pipelines
  • Conditions
  • Conditional Statements
  • Iteration
  • Strings
  • Environmental Variable
  • Compression
  • Symbolic Links
  • Processes

For job roles

  • Bash Developer
  • System Administrator (Sysadmin)

Sample candidate report

Need it fast? AI-crafted tests for your job role

TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!

Use AI Test Generator

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 - Winter (2025)
Capterra - 4.5 Stars
Capterra - Ease of Use (2025)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to accounting and MS Excel. See all pre-made tests.

130+ skills

From SQL and Python to Attention to Detail and Logical Reasoning. See all questions to filter by skill.

AI-ready assessments

Test what matters in a world with AI, protected by AI proctoring that flags any assistance.

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

Enterprise-ready technical solutions

Multi-user Account

Support multiple users with shared permissions and role-based access control.

GDPR compliance

TestDome is fully GDPR compliant, see our legal pages .

Single Sign-On (SSO)

Use SSO for easy and secure user authentication for multiple users in your company. Request access.

Data anonymization

Automatic data anonymization after a defined period of time — or on-demand.

Want to know more?

Related Bash Tests: