This Bash Online Test
Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The Bash online test assesses candidates' knowledge of programming Bash scripts for a Linux environment.

It's an ideal test for pre-employment screening. A good Bash developer needs to be able not only to solve problems using Bash as the programming language but also be familiar with Bash language constructs and commonly available utilities in Linux systems.

This online test requires candidates to solve coding problems in Bash.

Sample public questions

3 min
Environmental Variable

The PATH variable is set in /etc/environment: 


And updated in .bash_profile:

export PATH=/usr/temp:$PATH:/usr/local/apps

Select the statements are correct.

5 min

Select the statements about the output of the following script that are correct.

if [ $value -eq 100 ]
    echo "value is eq 100"
elif [ $value -gt 100 ]
    echo "value is gt 100"
    case $value in
    [1-3]*) echo "value is between 1 and 39 (inclusive)" ;;
    [4-5]*) echo "value is between 40 and 59 (inclusive)" ;;
    9[1-8]) echo "value is between 91 and 98 (inclusive)" ;;
    99) echo "value is $value" ;;
    *) echo "value is unknown" ;;

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 logo on certificate

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

13 more premium Bash questions

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

Skills and topics tested

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

For job roles

  • Bash Developer
  • System Administrator (Sysadmin)

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 High Performer 2022G2 Read Our Reviews

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


Choose a pre-made test
or create a custom test


Invite candidates via
email, URL, or your ATS


Candidates take
a test remotely


Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related Bash Programming Tests: