| by Arround The Web

Basic Ways on How to Take Input from a User in Bash Script

Practical tutorial on the basic ways on how to take an input from a user in Bash script and how to mix and match these parameters to input the variable.

Share Button
Read More
| by Arround The Web

How to Use the Bash Case Statement

Comprehensive tutorial on how you can use the Bash case statement using two examples and some scenarios in Ubuntu 22.04 through practical examples.

Share Button
Read More
| by Arround The Web

Awk Trim Whitespace

Whitespace is the space between two printable characters. Awk is a very powerful scripting language used for data manipulation and report generation.

Share Button
Read More
| by Arround The Web

Bash Export Command

With the export command, you export the environmental variables to other shells as a child process without tampering with the existing environmental variables.

Share Button
Read More
| by Arround The Web

Bash Command Not Found, Common Reasons and Solutions

Bash Command Not Found error occurs whenever you try to execute a certain command, either with or without any of the available options.

Share Button
Read More
| by Arround The Web

Bash Pattern Matching

Tutorial on the various ways for Bash pattern matching and how to work with the various pattern matching options to match the various patterns on the terminal.

Share Button
Read More
| by Arround The Web

How to Execute Commands from Within a Shell Script

The shell works as a command-line interpreter, taking inputs and giving output. A shell script can contain loops, functions, variables, and commands.

Share Button
Read More
| by Arround The Web

Bash Command Expansion

This guide explains what command expansion means, and we’ve given various examples to help understand how you can use command expansion for your bash scripts.

Share Button
Read More
| by Arround The Web

How to Use Bash Source Command

The source command is a bash command. We use it to execute Bash scripts, import functions, update variables, and pass environmental variables from a file.

Share Button
Read More
| by Arround The Web

How to Check the OS Version in Linux

Knowing the OS version is useful in upgrading the system and troubleshooting issues. How to check the OS version in Linux is discussed here.

Share Button
Read More
| by Arround The Web

Bash “For” Loop To Iterate Through an Array

A guide on the use and function of the Bash “for” loop to iterate through an array by using the “for” loop to write the contents of an array to a text file.

Share Button
Read More
| by Arround The Web

Bash Functions Tutorial

A step-by-step guide on how to utilize the Bash function to make Bash scripts easier to read and to prevent one from repeatedly typing the same script.

Share Button
Read More
| by Arround The Web

Bash Pad String with Spaces

Easy-to-follow guide on how to pad a string with a required number of spaces in Bash in Linux Mint 20.3 to properly format a text.

Share Button
Read More