Start free

Browse › Linux System Administration

Assign Environment and Shell Variables in Linux

Guided

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 automate administration tasks by using variables.

  1. Define environment variables by using bash
  2. Use the variables in Linux commands
  3. Define shell variables
  4. Use the variables in Linux commands
  5. Define shell variables by using command substitution
  6. Once you begin the challenge, you will not be able to pause, save, or return to your progress
  7. Please ensure that you have set aside enough time to complete the challenge before you start

Roadmaps that use this lab