Programming Tutorials

Excellent Free Tutorials to Learn Bash

Bash (acronym for the ‘Bourne-Again-SHell’) is the GNU Project’s shell and programming language. It’s an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). Bash has become a de facto standard for shell scripting. It runs on almost all versions of Unix and a few other operating systems including Windows platforms.

A Unix shell is both a command interpreter and a programming language. As a command interpreter, the shell provides the user interface to various utilities. The programming language features of Bash allow these utilities to be combined. Files containing commands can be developed, and become commands themselves. A shell script is therefore a quick way of prototyping a complex application. Shell scripting follows the classic Unix philosophy of breaking complex projects into simpler subtasks, of chaining together components and utilities.

Like all Unix shells, Bash supports filename globbing (wildcard matching), piping, here documents, command substitution, variables and control structures for condition-testing and iteration. The keywords, syntax and other basic features of the language were all copied from sh.

Here’s our recommended free tutorials to learn Bash.


1. Bash Scripting Tutorial by Ryan Chadwick

The tutorial will give you a solid foundation in how to write Bash scripts, to get the computer to do complex, repetitive tasks for you.

Read the tutorial


2. The Ultimate Linux Command Line Guide – Full Bash Tutorial by freeCodeCamp

This tutorial will show you some of the key Linux command line technologies and introduce you to the Bash scripting language.

Read the tutorial


3. Shell programming with bash: by example, by counter-example by Matt Might

The author aims to make this tutorial a one-shot introduction, covering all of the common elements of the scripting language, and a good fragment of the advanced.

Read the tutorial


4. Learn Shell Scripting with BASH by The Urban Penguin

This is a mini-series of video tutorials where the host looks to assist you in shell scripting using the Bash shell.

Watch the tutorials


5. Shell Scripting Tutorial: How to Create Shell Script in Linux/Unix by guru99

This shell scripting tutorial helps to learn a basic understanding of the Linux/Unix shell scripting program to advanced concepts of shell scripting.

Read the tutorial


All tutorials in this series:

Free Programming Tutorials
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and others
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeGeneral-purpose, functional, language descended from Lisp and Algol
PrologGeneral purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
SQLAccess and manipulate data held in a relational database management system
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlGeneral-purpose, powerful, high-level language
AwkVersatile language designed for pattern scanning and processing
RacketPlatform for programming language design and implementation
BASICFamily of general-purpose, high-level programming languages
CoffeeScriptA very succinct programming language that transcompiles into JavaScript
LaTeXProfessional document preparation system and document markup language
ElixirRelatively new functional language that runs on the Erlang virtual machine
DartClient-optimized programming language for fast apps
ABAPAdvanced Business Application Programming
F#General purpose, strongly typed, multi-paradigm language. Part of ML
ChapelParallel-programming language in development at Cray Inc.
DylanMulti-paradigm language, supports functional & object-oriented programming
DGeneral-purpose systems programming language with a C-like syntax
SolidityObject-oriented, high-level language for implementing smart contracts
XMLSet of rules for defining semantic tags that describe the structure and meaning
ValaObject-oriented language with a self-hosting compiler that generates C code
ECMAScriptBest known as the language embedded in web browsers
KotlinStatically typed, general-purpose programming language with type inference
TypeScriptStrict syntactical superset of JavaScript, adding optional static typing
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
PikeInterpreted, general-purpose, high-level, cross-platform, dynamic language
HTMLHyperText Markup Language
FactorDynamic stack-based language
Objective-CGeneral purpose language which is a superset of C
Standard MLOne of the two main dialects of the ML language
AliceEducational language with an integrated development environment
AgdaDependently typed functional language based on intuitionistic type theory
IconHigh-level, general-purpose language
PureScriptSmall strongly, statically typed language with expressive types
TclDynamic language based on concepts of Lisp, C, and Unix shells
EiffelObject-oriented language
ClojureScriptCompiler for Clojure that targets JavaScript
QMLHierarchical declarative language for user interface layout with a syntax to JSON
VHDLVery High Speed Integrated Circuit Hardware Description Language
OpenCLOpen Computing Language
ElmFunctional language that compiles to JavaScript
HamlHTML Abstraction Markup Language
JArray programming language based primarily on APL
LabVIEWDesigned to enable domain experts to build power systems quickly
HackFor the HipHop Virtual Machine (HHVM), created as a dialect of PHP
ImbaFull-stack language that compiles to performant JavaScript
VStatically typed compiled language to build maintainable software
PostScriptPage description language in electronic and desktop publishing
ArduinoInexpensive, flexible, open source microcontroller platform
NimStatically typed compiled systems language with syntax resembling Python
Emacs LispA dialect of the Lisp programming language.
OctaveHigh-level language, primarily intended for numerical computations
Bash‘Bourne-Again-SHell’ is both a shell and programming language
LimboDesigned for applications running distributed systems on small computers
CSSCSS (Cascading Style Sheets) specifies a web page’s appearance
RakuMember of the Perl family of programming languages
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.