Linux Online Test

TestDome skill assessments are used by more than 6,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This 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.

Recommended Job Roles
Back-End Developer
Linux System Administrator
Network Administrator
Sample Candidate Report

Sample Free Questions

Cron

3min
  -  
Easy  
  -  
MCA

Linux Scheduling Public

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.

(Select all acceptable answers.)

Elif

5min
  -  
Easy  
  -  
MCA

Linux Bash Public

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

(Select all acceptable answers.)

Tar

2min
  -  
Hard  
  -  
MCA

Linux Bash Public

Select the commands that, when executed, would decompress and unpack the file file.tar.gz.

(Select all acceptable answers.)

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Inodes, Permissions, Hidden File, Export, Mail, Sed, Top, Rename, Authorized Keys, Binary
Skills
Linux Bash Permissions File Processes Strings
Score Distribution
# of candidates
0-33%
34-66%
67-100%
Score
Pricing For Premium Questions