SlideShare a Scribd company logo
Bash vs C Shell vs Korn Shell | Edureka
THE KERNEL & THE SHELL
EVOLUTION OF THE SHELL
WHICH SHELL IS FOR YOU?
SH=BASH?
www.edureka.co
SHELL vs BASH vs OTHER LINUX SHELLS
www.edureka.co
The computer programs that allocate the system resources and coordinate all the details of the computer's internals is
called the operating system or the Kernel. Users communicate with the OS through a program called the Shell.
What is a Kernel?
www.edureka.co
Applications
Kernel
Memory DevicesCPU
The Shell is a Command Line Interpreter. It translates commands entered by the user and converts them into a language
that is understood by the Kernel.
What is a Shell?
www.edureka.co
Translates
Commands
Language understood
by the Kernel
Takes Input
From User
The basic concept of a shell script is a list of commands, which are listed in the order of execution. A good shell script will
have comments, preceded by #sign, describing the steps
What is a Shell Script?
www.edureka.co
Translates
Commands
Language understood
by the Kernel
Takes Input
From User
www.edureka.co
Created by Stephen Bourne, the Bourne Shell is a useful shell even today and in some cases, as the default root shell. Its
grammar is very similar to the Algorithmic Language (ALGOL).
The Bourne shell had two primary goals: serve as a command interpreter and for scripting.
Bourne Shell
www.edureka.co
sh
1977
The C shell was developed by Bill Joy with the objective of achieving a scripting language similar to C programming
language. This was useful given that C was a primary language in use back then which also made it easier and faster to use.
C Shell
www.edureka.co
csh
1978
Developed by David Korn, the Korn Shell combined features of both Bourne Shell and C Shell. It is backward compatible with
the former.
It includes features from the C Shell such as job control, command aliasing & command history.
Korn Shell
www.edureka.co
ksh
1983
Started out as a derivative of the C Shell but with a programmable command line completion and editing features added to
it.
TENEX C Shell
www.edureka.co
tcsh
1983
One of the most widely used shell, today, it was written by Brian Fox for the GNU project as a pre software replacement for
the Bourne Shell. Shows all features from the Bourne shell but is much more efficient and easy to use.
It supports filename globbing, piping, command substitution, and control structures for conditional testing and iteration.
Bourne-Again Shell
www.edureka.co
bash
1989
Many shells were evolved later such as Public Domain Korn Shell, Almquist Shell and the Extensible Shell bringing in new
features and dialects of their own suitable for different needs.
www.edureka.co
pdksh
1989
ash
1989rc
1989
Other Shells
Other Shells
www.edureka.co
zsh
1990
POSIX
1992
es
1993
scsh
1994
dash
1996
psh
1999 mksh
2003
Many shells were evolved later such as Public Domain Korn Shell, Almquist Shell and the Extensible Shell bringing in new
features and dialects of their own suitable for different needs.
www.edureka.co
www.edureka.co
SHELL SCRIPT
The Shell Command Language is
a programming language
according to the POSIX
Standards.
It is a specification.
BASH
Bash is one of the many
implementations of the Shell
Command Language.
www.edureka.co
www.edureka.co
www.edureka.co
C Shell
Ideal for learners
comfortable with the C
programming language.
Mostly Network Admins use
this shell. Korn Shell
This highly interactive shell is
generally used to to
automate a wide variety of
operating system and system
administration tasks.
Bourne Shell
Versatile and easy to learn,
most widely taught and
learnt shell for scripting and
interfacing purposes
www.edureka.co

More Related Content

PDF
Intro to Linux Shell Scripting
PDF
OOP in PHP
PDF
Linux basic commands with examples
PPTX
Linux commands
PPTX
Microprocessor chapter 9 - assembly language programming
ODP
Advanced Perl Techniques
PDF
Embedded linux network device driver development
PPTX
Debugging Modern C++ Application with Gdb
Intro to Linux Shell Scripting
OOP in PHP
Linux basic commands with examples
Linux commands
Microprocessor chapter 9 - assembly language programming
Advanced Perl Techniques
Embedded linux network device driver development
Debugging Modern C++ Application with Gdb

What's hot (20)

PDF
Shell Scripting Tutorial | Edureka
PPTX
Rotas estáticas IPv6
PPTX
Securing Kafka with SPIFFE @ TransferWise
PDF
Cobbler - Fast and reliable multi-OS provisioning
ODP
Linux commands
PDF
PDF
static libraries and dynamic libraries
PPTX
RHCSA EX200 - Summary
PDF
From Zero to Hero with Kafka Connect (Robin Moffat, Confluent) Kafka Summit L...
PDF
クラウドとAWSの説明
PPTX
Embedded TCP/IP stack for FreeRTOS
PPT
Linux commands and file structure
PPTX
Portainer
PDF
Course 102: Lecture 3: Basic Concepts And Commands
PPT
Basic command ppt
PDF
前端爆肝之旅+React上山前的小專案心得分享
PDF
Types of Linux Shells
PDF
The Kubernetes Operator Pattern - ContainerConf Nov 2017
PDF
Intrinsic Methods in HotSpot VM
PPTX
Project 2 how to modify OS/161
Shell Scripting Tutorial | Edureka
Rotas estáticas IPv6
Securing Kafka with SPIFFE @ TransferWise
Cobbler - Fast and reliable multi-OS provisioning
Linux commands
static libraries and dynamic libraries
RHCSA EX200 - Summary
From Zero to Hero with Kafka Connect (Robin Moffat, Confluent) Kafka Summit L...
クラウドとAWSの説明
Embedded TCP/IP stack for FreeRTOS
Linux commands and file structure
Portainer
Course 102: Lecture 3: Basic Concepts And Commands
Basic command ppt
前端爆肝之旅+React上山前的小專案心得分享
Types of Linux Shells
The Kubernetes Operator Pattern - ContainerConf Nov 2017
Intrinsic Methods in HotSpot VM
Project 2 how to modify OS/161
Ad

Similar to Bash vs C Shell vs Korn Shell | Edureka (20)

PPT
Shell and its types in LINUX
PDF
The Shell Game Part 2: What are your shell choices?
PDF
Learning the bash Shell Unix Shell Programming Third Edition Cameron Newham
PPTX
shell script programming introduction and fundamentals
PPT
Shell Basics
PDF
Unixshellscript 100406085942-phpapp02
PPT
Shell Scripting in Linux
PPTX
Licão 02 shell basics bash intro
PPTX
Shell scrpting(payal harne)
PPTX
Shell & Shell Script
PPTX
Shell & Shell Script
PPTX
Shell programing|Shel Scripting
PPTX
Shell Scripting and Programming.pptx
PPTX
Shell Scripting and Programming.pptx
PPT
Introduction to shell scripting ____.ppt
PDF
Live with cli(bash)
PPTX
Linnux & Shell scripts Commands.pptx
PDF
basic shell scripting syntex
PPTX
PPT of linux commands by Don Johnson.pptx
Shell and its types in LINUX
The Shell Game Part 2: What are your shell choices?
Learning the bash Shell Unix Shell Programming Third Edition Cameron Newham
shell script programming introduction and fundamentals
Shell Basics
Unixshellscript 100406085942-phpapp02
Shell Scripting in Linux
Licão 02 shell basics bash intro
Shell scrpting(payal harne)
Shell & Shell Script
Shell & Shell Script
Shell programing|Shel Scripting
Shell Scripting and Programming.pptx
Shell Scripting and Programming.pptx
Introduction to shell scripting ____.ppt
Live with cli(bash)
Linnux & Shell scripts Commands.pptx
basic shell scripting syntex
PPT of linux commands by Don Johnson.pptx
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
A Presentation on Artificial Intelligence
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectral efficient network and resource selection model in 5G networks
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectroscopy.pptx food analysis technology
Review of recent advances in non-invasive hemoglobin estimation
MIND Revenue Release Quarter 2 2025 Press Release
Diabetes mellitus diagnosis method based random forest with bat algorithm
Per capita expenditure prediction using model stacking based on satellite ima...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
A Presentation on Artificial Intelligence

Bash vs C Shell vs Korn Shell | Edureka

  • 2. THE KERNEL & THE SHELL EVOLUTION OF THE SHELL WHICH SHELL IS FOR YOU? SH=BASH? www.edureka.co SHELL vs BASH vs OTHER LINUX SHELLS
  • 4. The computer programs that allocate the system resources and coordinate all the details of the computer's internals is called the operating system or the Kernel. Users communicate with the OS through a program called the Shell. What is a Kernel? www.edureka.co Applications Kernel Memory DevicesCPU
  • 5. The Shell is a Command Line Interpreter. It translates commands entered by the user and converts them into a language that is understood by the Kernel. What is a Shell? www.edureka.co Translates Commands Language understood by the Kernel Takes Input From User
  • 6. The basic concept of a shell script is a list of commands, which are listed in the order of execution. A good shell script will have comments, preceded by #sign, describing the steps What is a Shell Script? www.edureka.co Translates Commands Language understood by the Kernel Takes Input From User
  • 8. Created by Stephen Bourne, the Bourne Shell is a useful shell even today and in some cases, as the default root shell. Its grammar is very similar to the Algorithmic Language (ALGOL). The Bourne shell had two primary goals: serve as a command interpreter and for scripting. Bourne Shell www.edureka.co sh 1977
  • 9. The C shell was developed by Bill Joy with the objective of achieving a scripting language similar to C programming language. This was useful given that C was a primary language in use back then which also made it easier and faster to use. C Shell www.edureka.co csh 1978
  • 10. Developed by David Korn, the Korn Shell combined features of both Bourne Shell and C Shell. It is backward compatible with the former. It includes features from the C Shell such as job control, command aliasing & command history. Korn Shell www.edureka.co ksh 1983
  • 11. Started out as a derivative of the C Shell but with a programmable command line completion and editing features added to it. TENEX C Shell www.edureka.co tcsh 1983
  • 12. One of the most widely used shell, today, it was written by Brian Fox for the GNU project as a pre software replacement for the Bourne Shell. Shows all features from the Bourne shell but is much more efficient and easy to use. It supports filename globbing, piping, command substitution, and control structures for conditional testing and iteration. Bourne-Again Shell www.edureka.co bash 1989
  • 13. Many shells were evolved later such as Public Domain Korn Shell, Almquist Shell and the Extensible Shell bringing in new features and dialects of their own suitable for different needs. www.edureka.co pdksh 1989 ash 1989rc 1989 Other Shells
  • 14. Other Shells www.edureka.co zsh 1990 POSIX 1992 es 1993 scsh 1994 dash 1996 psh 1999 mksh 2003 Many shells were evolved later such as Public Domain Korn Shell, Almquist Shell and the Extensible Shell bringing in new features and dialects of their own suitable for different needs.
  • 16. www.edureka.co SHELL SCRIPT The Shell Command Language is a programming language according to the POSIX Standards. It is a specification. BASH Bash is one of the many implementations of the Shell Command Language.
  • 19. www.edureka.co C Shell Ideal for learners comfortable with the C programming language. Mostly Network Admins use this shell. Korn Shell This highly interactive shell is generally used to to automate a wide variety of operating system and system administration tasks. Bourne Shell Versatile and easy to learn, most widely taught and learnt shell for scripting and interfacing purposes