⌨️Shell
Also known as Command Shell, Bash, Zsh, Unix Shell
The program that reads the commands you type and runs them.
Think of it like
Think of it like a waiter. You give your order, it takes it to the kitchen, and it brings back the food.
Example
Lucy asks her computer which shell it uses. The reply /bin/bash means Lucy is in Bash.
Why it matters
Every command you type goes through the shell. Knowing it lets you automate boring work.
Definition
Example code
console
$ echo $SHELL
/bin/bashCommon mistake
Key takeaways
- 1Reads and runs. Your typed commands.
- 2Chains and scripts. Joins commands together.
- 3Inside the terminal. The window is separate.