Linux head and tail are basic commands for displaying file contents. In this post we’re going to show how to do that on many examples!
Linux cut command by example The Cut command is a great utility to select parts of lines. In this post we’ll show many example of how to use it.
Problem: How to use Bash select function to write interactive scripts? In this post we’ll show how to use select to interact with user and guide her through filesystem. Read on.
Problem: How to process Bash script parameters? There are two ways – using while-case combo or with Bash getopts as we show in the following example.
Problem: How to use Bash case statement to process complex conditionals? It’s most often used to process script parameters.
Problem: How to use Bash arrays? Bash is very flexible and allows to do funny things with arrays. Check out these cool Bash array examples.
Problem: Bash if else is the most fundamental control flow statement used almost in every script. In the following Bash tutorial we show how to use if-else on examples!
Problem: Bash until loop is another basic construct occurring in many programming languages. It is similar to the while loop, but… different. Learn how!
Problem: while loop is a basic construct in many programming languages. Bash also allows us to use it to iterate over many things. Learn here how!
Problem: How to create Here/inline Documents in Bash? Bash Here documents can be really helpful templating mechanism when used in Bash scripts. They can generate almost anything, even scripts to compile and run sample Java code!