Identify your user
See the account running this terminal.
whoamiPractice Linux and Bash commands in your browser with LabEx. Explore a real Ubuntu 24.04 environment for hands-on Linux learning, from your first command to everyday system administration. No installation required.
Start here
Load an example into Linux Terminal and run it instantly. Every example uses commands supported by this browser terminal.
See the account running this terminal.
whoamiDisplay the full path of your current working directory.
pwdList the standard Ubuntu directories, including etc, home, usr, and var.
ls /Make a workspace for your own files. The -p option also works if it already exists.
mkdir -p practiceCreate notes.txt in your home directory, or update its timestamp.
touch notes.txtPrint the contents of the welcome file included in your workspace.
cat welcome.txtSearch your home directory and its subdirectories by filename.
find . -name notes.txtDelete the sample scratch directory and everything inside it.
rm -rf scratchDisplay the current date and time.
dateNo setup needed
Choose a command above, load it into the terminal, and press Enter. Explore an Ubuntu-style workspace with sample files, then sign in to open a complete Ubuntu 24.04 lab with package management, networking, and a desktop.
LabEx offers several ways to practice Linux online. The instant terminal on this page lets you try introductory commands without signing in. Your free signed-in Ubuntu 24.04 environment provides a command-line terminal, a Linux Desktop, and a WebIDE for editing files and running projects.
Use the terminal for Bash commands and scripts, the desktop for graphical applications, and the WebIDE for working with code. LabEx also offers distribution-specific playgrounds, including Ubuntu, Debian, Kali Linux, Fedora, CentOS, Arch Linux, and RHEL. Choose a related playground below to explore the environment that fits your learning goals.
Build practical habits
Use pwd, ls, cd, mkdir, and touch to understand how Linux paths and folders work.
Combine grep, sort, uniq, wc, head, and tail to inspect text and build simple pipelines.
Send output to files with > and >>, then connect supported commands with pipes.
Use the Linux Desktop to explore graphical tools alongside your terminal, edit scripts, and complete guided projects.
Keep learning
Turn quick command experiments into practical Linux skills. Follow a beginner path, use a real Linux environment, and get step-by-step guidance as you learn.
Follow a structured path from command-line basics to practical system administration.
Explore the Linux PathLearn fundamental Linux tasks through beginner-friendly hands-on labs.
Start the CoursePractice common Linux commands in guided browser-based labs.
Practice CommandsLearn Bash essentials, text processing, and automation with hands-on exercises.
Start the CourseLearn navigation, files, history, help, aliases, and essential commands.
Start Linux JourneyHelpful answers
An Online Linux Terminal is a browser-based command-line workspace for practicing Linux commands, inspecting output, managing files, and learning shell workflows without installing Linux locally. This page provides introductory command practice; sign in for a real hosted Ubuntu environment.
Yes. Try the supported commands here for free, then sign in to launch the free Linux learning environment. The guest preview has a limited command set; the hosted lab provides real Linux tools.
Start without local installation, practice in a workspace separate from your computer, and use a browser to follow exercises. A prepared environment reduces setup work; follow the lab’s reset instructions when you want to start fresh.
Yes. LabEx provides a real Ubuntu 24.04 environment with Linux commands, a desktop, and an editor.
Start here with pwd, ls, cd, cat, grep, find, head, tail, sort, uniq, wc, mkdir, and rm. Type help for supported options. In the hosted lab, continue with installed tools such as less, ps, top, and tar, subject to the lab’s permissions.
Yes. Practice supported pipes and redirection here. Sign in to the Ubuntu lab to create and run Bash scripts with variables, loops, conditionals, and functions, and to combine commands into automation workflows.
Use the hosted Linux lab for permissions, package management, process inspection, users, groups, networking, and service exercises supported by that lab. These tasks require the real environment; the guest preview does not provide full system access.
The guest preview introduces basic commands, while the signed-in LabEx environment provides a real Ubuntu system with a terminal, Linux desktop, and editor. Guided labs, learning paths, and Labby assistance connect command practice with structured learning.
Yes. Start with the quick-start examples, read the output, and practice with sample files. Continue with guided Linux labs to learn step by step in a workspace separate from your computer.
Learn pwd, ls, and cd first, then practice creating, copying, moving, and deleting files. Use the hosted lab to build pipelines and small Bash scripts. Follow the Linux Skill Tree or Linux Journey and apply each lesson in a hands-on lab.
Your next step
Continue in a full Linux desktop with real commands, files, tools, guided labs, and Labby assistance.