Practice Linux commands in a safe, simulated environment
Below is a simulated Linux terminal that behaves like a real one for basic commands. Feel free to type commands and press Enter to see the output. Remember, this is a simulation, so no real changes are made to your computer.
help to see a quick reference of all supported commands}clear to clear the terminal screen}Here are some common commands to get you started. Try them in the terminal above!
pwd # Print current directory
ls # List files and directories
cd documents # Change to documents directory
cd .. # Go up one directory
cd ~ # Go to home directory
cat README.txt # View file contents
mkdir test # Create a directory
touch file.txt # Create an empty file
cp file.txt copy.txt # Copy a file
mv file.txt newname.txt # Move/rename file
rm newname.txt # Remove a file
help # Show available commands
man ls # Manual for ls command
whoami # Show current user
date # Show current date/time
uptime # Show system uptime
This interactive terminal is a sandbox for you to play in. Don't be afraid to try commands, make mistakes, and learn from them. The more you practice, the more comfortable and powerful you'll become with the Linux command line.
Go back to the tutorial modules to learn about specific topics in depth: