Programming and Scripting: Tutorials and Examples

Bash Scripting Tutorial

The Bash shell is both a command interpreter and programming language. It provides many of the features found in other programming languages.

Find out how to set up and run shell scripts in our Bash Scripting Tutorial. Learn how to define functions and variables. Learn about Bash syntax for flow control such as if-else structures, for loops, while and until loops, and more.

Find out how Bash uses special characters for file globbing, command substitution, and more. Read On

Linux Commands

In order to write shell scripts, you need to be familiar with a significant cross-section of Linux commands. We provide a categorized list of the most commonly used commands, complete with brief descriptions and examples.

We also cover Linux command syntax, command options and arguments, as well as the use of command history to faciltate shell command reuse. Read On