Print a greeting
Use echo to display a line of text.
echo "Hello, LabEx"Practice Bash commands, text processing, and shell workflows online. Start with short exercises, then write scripts in a real Linux environment.
Start here
Load a task into the terminal, then press Enter to see the result. Each example works in the introductory session on this page.
Use echo to display a line of text.
echo "Hello, LabEx"Locate your shell workspace.
pwdInclude hidden files and detailed permissions.
ls -laRedirect a command’s output into a file.
echo "My first shell note" > note.txtInspect the included shell script before running it.
cat hello.shPass a short command to the bash interpreter.
bash -c "echo Hello from bash"Show matching lines in the welcome file.
grep LabEx welcome.txtCount the lines in a text file.
wc -l welcome.txtNo setup needed
Practice Bash commands, text processing, and shell workflows online. Start with short exercises, then write scripts in a real Linux environment.
Start with the short command exercises above. When you are ready for a project, open the linked LabEx lab to work with real tools in an online Linux environment, with step-by-step guidance and immediate feedback.
Keep learning
Build on your Bash experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.
Start with variables, command output, and basic control flow. Sign in to a hosted lab for script files, executable permissions, and more complete Bash workflows.
The introductory exercises are free. Sign in for a complete LabEx environment; session duration and resources depend on your lab and plan.
No local installation is required. Sign in and open the lab in a modern browser. Follow the lab instructions to configure software inside the environment.
This preview supports a limited command set. Sign in and launch the Shell lab for more commands, packages and services. Available software and permissions depend on the selected lab.
Follow the Shell Skill Tree for guided labs and challenges. Practice regularly, inspect command output and ask Labby for help.
Your next step
Continue with real tools, guided labs, and Labby assistance.