Bash Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout 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
The PATH variable is set in /etc/environment:
PATH="/usr/local/sbin:/usr/local/bin:/usr/games:/usr/local/games"
And updated in .bash_profile:
export PATH=/usr/temp:$PATH:/usr/local/apps
Select the statements are correct.
Select the statements about the output of the following script that are correct.
#!/bin/bash
value=$1
if [ $value -eq 100 ]
then
echo "value is eq 100"
elif [ $value -gt 100 ]
then
echo "value is gt 100"
else
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" ;;
esac
fi
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Bash test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
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.
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
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
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