Basic Linux Commands

Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience. Bash is an acronym for Bourne Again Shell. A shell is a terminal application used to interface with an operating system through written commands

LS Is probably the first command every Linux user typed in their terminal. It allows you to list the contents of the directory you want, including files and other nested directories.

Pwd command stands for “print working directory,” and it outputs the absolute path of the directory you’re in

CD The cd command is highly popular, along with ls. It refers to “change directory” and, as its name suggests, switches you to the directory you’re trying to access.

MKDIR To create folders in the shell, you use the mkdir command. Just specify the new folder’s name, ensure it doesn’t exist, and you’re ready to go.

RM You can use the rm command to remove files and directories. Be careful while using it, though, because it’s very difficult (yet not impossible) to recover files deleted this way.

RMDIR To delete folders in the shell, you use the RMDIR command. Just specify the folder in which needs to be deleted