Programming and Scripting: Tutorials and Examples
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.
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.