Bash Basics

Bourne again shell, the standard Linux terminal.

A shell is an environment for running commands and scripts. It's a text based interface that allows you to do anything inside your system. Developers often use it as it's faster than navigating a UI. Bash is also a programming language for writing complex commands repeatable scripts.

Commands

ls - List files

cd - Change directory

pwd - Print working directory

mv - Move file

cat - Print file content

Tab completion

Press tab to complete directory paths, filenames, or press it twice to list available options.

Some commands can autocomplete parameters using tab completion (git branches).

Level
Topics