Bash Commands Overview
Common Bash Commands
Bash commands are how you interact with the operating system and perform tasks.
Common commands:
ls- List directory contentscd- Change the current directorypwd- Print the current working directoryecho- Display a line of textcat- Concatenate and display filescp- Copy files and directoriesmv- Move or rename filesrm- Delete files or folderstouch- Create an empty file or update its timemkdir- Create a new folder
All these commands and more are explained in the following chapters.
Example
Here's an example using some of these commands:
Example
mkdir my_directory
cd my_directory
touch my_file.txt
ls
my_file.txt