What is Bash?
Bash is a command language. When you type commands into a terminal, a program like Bash reads them and tells the computer what to do.
Developers use Bash to navigate folders, create files, run programs, and automate tasks. Learning a few commands is the first step toward feeling comfortable on the command line.
Try it: Mini Bash Terminal
Type a command and press Enter or click Run. The terminal starts in /home/student. Try pwd, ls, cd images, echo hello, and help.
Welcome to the mini Bash terminal. Type 'help' to see available commands.
Common Bash commands
pwdprints the current directory.lslists the files and folders in the current directory.cd folderchanges into a folder;cd ..goes up one level.echoprints text to the screen.cat fileshows the contents of a file.mkdir foldercreates a new folder.clearclears the terminal screen.
Quick quiz
1. Which command shows the current directory?
2. Which command lists files?
3. Which command prints text?
Keep exploring
Explore more terminal and command-line tutorials.
Part of the Terminal & Bash tutorial series.