Command Line Crash Course

Title Text

What's a Terminal?

a contact on an electrical device (such as a battery) at which electric current enters or leaves

electronic equipment consisting of a device providing access to a computer; has a keyboard and display

 

vocabulary.com/dictionary/terminal

What's a Terminal?

So What's a Shell?

In computing, a shell is a user interface for access to an operating system's services.

 

In general, operating system shells use either a command-line interface (CLI) or graphical user interface (GUI), depending on a computer's role and particular operation.

 

It is named a shell because it is the outermost layer around the operating system.

 

https://en.wikipedia.org/wiki/Shell_(computing)

So What's a Shell?

Powershell, Bash, ZSH, the MINGW git shell for Windows, and the Win32 shell you use when you open CMD.exe in windows are all shells you might have encountered.

 

Great wiki about different shells:

en.wikipedia.org/wiki/Comparison_of_command_shells

 

We're going to be focusing mostly on Bash and ZSH

Words

Terminal

Shell

Prompt

Command

Flag

Path

Permissions

Dotfiles

Prompt Statement (PS1, PS2)

CLI

Conquer The Command Line

By gpspake

Conquer The Command Line

  • 975