Print a greeting
Use echo to display a line of text.
echo "Hello, LabEx"Practice Shell 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 sh interpreter.
sh -c "echo Hello from sh"Show matching lines in the welcome file.
grep LabEx welcome.txtCount the lines in a text file.
wc -l welcome.txtNo setup needed
Practice Shell 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 Shell experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.
Practice navigation, redirection, pipes, variables, and scripting. Continue with the Shell Skill Tree and a hosted lab to build and debug longer scripts.
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.