operations

How to Read a CSV File in Bash

There are primarily two methods to read a CSV file in Bash: using awk and using a while loop with the Internal Field Separator (IFS). This tutorial will not only cover these methods but also show you how to read a specific column from a CSV file.

Read more

Read more
operations

Bash Arrays With Examples

An array is a collection of elements. In Bash, an array can contain a mix of elements of different types, e.g. Strings and Numbers.

Read more

Read more
operations

How to Create and Call Functions in Bash

A quick guide on how to create and call functions in Bash.

Read more

Read more
operations

Bash If-Else Statement With Examples

If-else statements in bash scripting is similar to any other programming languages; it is a method for a program to make decisions.

Read more

Read more
operations

Bash Script - How to Read User Input

The linux read command is used to take a user input from the command line. This is useful when we want to provide user interactivity at runtime.

Read more

Read more
operations

Bash Script - Hello World Example

In this tutorial, we learn how to create and run a simple Bash script which prints out “Hello World”.

Read more

Read more
operations

Bash For Loop and While Loop Examples

Like any other scripting language, Bash also has support for loops.

Read more

Read more