Bash 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 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

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 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

13 more premium Bash questions

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

Skills and topics tested

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

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 - 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


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?

Related Bash Tests: