Skip to main content

Command Palette

Search for a command to run...

Difference Bash vs Shell script

Published
1 min readView as Markdown
Difference Bash vs Shell script
A

Solidity & Discord Engineer | I love breaking and securing code | Auditor in view | Building on Base Blockchain

Bash is a specific type of shell, while shell scripting refers to the practice of writing scripts that can be executed by a shell.

A shell is a command-line interface that allows users to interact with an operating system. There are several types of shells, including Bash (which is the default shell on most Linux and macOS systems), as well as other shells like Zsh, Ksh, and Csh.

Shell scripting involves writing scripts using a shell's syntax and features to automate tasks or perform a series of commands. Bash scripting specifically involves writing scripts using the Bash shell's syntax and features.

So, while Bash is a type of shell, shell scripting is a broader term that refers to the practice of writing scripts that can be executed by any shell. However, Bash scripting is a specific type of shell scripting that specifically uses the Bash shell.

More from this blog

A

Abraham Dominic Newton

29 posts

Hi, I’m Abraham an ardent Web3 & Solidity Developer.

I'm passionate about using codes to solve real life problems.

I build secured smart contracts.