Introduction
In this challenge, you will learn how to set up and manage environment variables in a Linux system as a junior system administrator. The goal is to create a permanent environment variable named PROJECT_DIR
that points to the /home/labex/projects
directory, and verify that the variable is correctly set and accessible in the current shell session.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
linux(("Linux")) -.-> linux/BasicSystemCommandsGroup(["Basic System Commands"])
linux(("Linux")) -.-> linux/UserandGroupManagementGroup(["User and Group Management"])
linux/BasicSystemCommandsGroup -.-> linux/echo("Text Display")
linux/BasicSystemCommandsGroup -.-> linux/source("Script Executing")
linux/UserandGroupManagementGroup -.-> linux/export("Variable Exporting")
subgraph Lab Skills
linux/echo -.-> lab-437861{{"Configure Linux Environment Variables"}}
linux/source -.-> lab-437861{{"Configure Linux Environment Variables"}}
linux/export -.-> lab-437861{{"Configure Linux Environment Variables"}}
end