Start free

Browse › Linux System Administration

Can You Perform Command-Line Tasks by Using Shell Operators and a Shell Script?

Advanced

Part of Linux System Administration Topic: Linux

Counts towardsCompTIA Linux+ badgeOffSec OSCP badge

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this challenge, you will perform command-line tasks by using shell operators.

  1. Determine file attributes by using file test operators
  2. Compare variables by using relational operators
  3. Perform logical operations by using Boolean operators
  4. Perform arithmetic operations on operands by using arithmetic operators
  5. Create a search utility by using a script

Note: Once you begin the challenge, you will not be able to pause, save, or return to your challenge. Please ensure that you have set aside enough time to complete the challenge before you start.

Roadmaps that use this lab