crux points:
- The shell acts as an envelope to the core of the operating system-referred to as kernel, permitting users to enter text commands and send information to the kernel.
- In simpler terms, the shell acts as an interpreter between users and kernel.
- All the data sent to the kernel, received by the user is via a shell.
- There are a number of shells used in various Linux distributions.
Eg: Bash, C shell etc. - The shell can be implemented as either CLI or GUI.
- Bourne shell (sh):
→Original Linux shell.
→Even though it's not widely used today, it is still available in all Linux systems. - Bash shell (bash):
→The default shell in Linux and a replacement of bourne shell.
→Its full name comes from the term, "Bourne-again shell" (BASH). - C shell (csh):
→Based on C programming language.
→Designed to support C language development environments. - Kornshell (ksh):
→Uses the features of C shell with the syntax of the bourne shell.
→Most common in Unix systems.
Why bash shell?
- This shell has been around for a very long time, so it is well documented with many existing scripts.
- This shell is almost common in every operating system
Default shell of Mac OS is also bash. - It includes history and tab completion features.
- It's very flexible compared to other shells.
Happy learning!
Comments
Post a Comment