Skip to content
LinuxSimply
  • Courses
  • Tutorials
    • Glossary
    • Commands
    • Linux Basics
    • Bash Scripting
    • Ubuntu
    • Networking
    • Bash Programming
    • Linux Applications
    • Miscellaneous
  • Cheat Sheets
  • Forum
  • About

Susmit Das GuptaSusmit Das Gupta

Hello everyone. I am Susmit Das Gupta, currently working as a Linux Content Developer Executive at SOFTEKO. I am a Mechanical Engineering graduate from Bangladesh University of Engineering and Technology. Besides my routine works, I find interest in going through new things, exploring new places, and capturing landscapes. Read Full Bio
Bash infinite loop one line.

One Line Infinite “while” Loop in Bash [4 Examples]

March 31, 2024January 30, 2024 by Susmit Das Gupta

An infinite loop executes a set of commands repeatedly for an endless time. The while loop consists of a block …

Read more

How to Create Infinite Loop in Bash [7 Cases]

March 17, 2024January 28, 2024 by Susmit Das Gupta

To create an infinite loop in Bash, select the while loop and keep the loop condition true. It is a …

Read more

Bash nested for loop.

How to Use Nested “for” Loop in Bash [7 Examples]

April 2, 2024January 22, 2024 by Susmit Das Gupta

Nesting means combination. When one loop is placed inside another, it is called a nested loop. A nested loop is …

Read more

bash for loop one line

How to Use “for” Loop in One Line in Bash [7 Examples]

March 17, 2024January 17, 2024 by Susmit Das Gupta

For loop eases to achieve a specific task done repeatedly for a particular time. The one-line for loop in bash …

Read more

bash for loop directory feature image.

Usage of “for” Loop in Bash Directory [5 Examples]

March 17, 2024January 14, 2024 by Susmit Das Gupta

A Bash directory contains a list of files and subfolders. This directory tree can be used to keep the same …

Read more

bash for loop files

How to Use “for” Loop in Bash Files [9 Practical Examples]

April 24, 2024January 10, 2024 by Susmit Das Gupta

The for loop in Bash is a fundamental control structure that allows users to iterate over a list of values …

Read more

loop control.

How to Use Loop Control in Bash [Break & Continue Statement]

February 11, 2024January 2, 2024 by Susmit Das Gupta

The loop is a powerful tool in programming languages that elevates programmers’ ability to automate repetitive tasks efficiently. From initiating …

Read more

Select loop.

Select Loop in Bash [5 Practical Examples]

February 11, 2024December 28, 2023 by Susmit Das Gupta

In the world of Bash scripting, the select loop is an approach that enables programmers to create an intuitive, text-based …

Read more

bash until loop

Until Loop in Bash

February 11, 2024December 12, 2023 by Susmit Das Gupta

Bash scripting provides a set of tools for automating tasks and streamlining workflows, with loops being a key feature to …

Read more

bash show hidden files

How to Show Bash Hidden Files? [6 Simple Ways]

December 17, 2023December 5, 2023 by Susmit Das Gupta

In Bash, hidden files are the files and directories whose names start with a dot (.). This makes them invisible …

Read more

Bash File Manipulation Examples [10 Included]

December 17, 2023November 29, 2023 by Susmit Das Gupta

In the realm of information, each and every part of our computing system has data saved inside a file. For …

Read more

bash if grep

Using “grep” in If Statement in Bash [4 Cases]

December 4, 2023November 22, 2023 by Susmit Das Gupta

The grep command is a useful tool to search for a text pattern within files. Along with the if statement, …

Read more

bash if regex

How to Use Regex in Bash If Condition? [4 Cases]

March 27, 2024November 20, 2023 by Susmit Das Gupta

Regex or regular expression is a sequence of characters that specifies a search pattern. Matching with regex can be done …

Read more

bash rm if exists

Remove Using ‘rm’ If Files Exist in Bash [6 Cases]

December 4, 2023November 15, 2023 by Susmit Das Gupta

The ‘rm’ command is a powerful tool for deleting files, but when it comes to scenarios where the file’s existence …

Read more

bash set environment variables

How to List and Set Bash Environment Variables? [3 Methods]

November 13, 2023November 12, 2023 by Susmit Das Gupta

Environment variables are dynamic named values that can affect the way running processes behave. To list environment variables in Bash, …

Read more

bash comparison operators

An Overview of Bash Comparison [Conditional] Operators

April 2, 2024November 6, 2023 by Susmit Das Gupta

Bash Comparison Operators are fundamental elements in scripting that allow Bash programmers to compare values and make decisions based on …

Read more

bash variable substitution

Variable Substitution in Bash [Replace Character & Substring]

May 4, 2024October 26, 2023 by Susmit Das Gupta

Bash programmers do the replacement, the substitution, and the removal of the bash variable too often. It helps them print …

Read more

bash multiply variable

How to Multiply Variable in Bash [6+ Practical Examples]

January 1, 2024October 11, 2023 by Susmit Das Gupta

To multiply variable in Bash, you can follow these steps: Firstly, initialize two variables. After that, multiply the two variables …

Read more

bash subtract two variables

How to Subtract Two Bash Variables? [4+ Easy Approaches]

January 23, 2024October 9, 2023 by Susmit Das Gupta

Subtraction is one of the most common yet important mathematical operations on Bash variables. When Bash programmers work with data …

Read more

bash variable addition

Addition of Bash Variables [4+ Examples]

January 23, 2024September 26, 2023 by Susmit Das Gupta

Addition is one of the most basic arithmetic operations. In data processing, programmers need to add variables to make calculations …

Read more

Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →
linuxsimply white logo
LinuxSimply serves as an informational
repository about the Linux operating system.

Get In Touch!

Company

  • About Us
  • Contact Us
  • Career
  • All Contributors

Services

  • Pricing
  • System Administration
  • Server Management
  • Bash Automation
card

Resources

  • Courses
  • Help Forum
  • Cheat Sheets
  • Free Downloads
trustpilot logo

Legal Corner

  • Disclaimer
  • Privacy Policy
  • Editorial Policy
  • Terms & Conditions
dmca
LinuxSimply is owned by , an IT & Digital Media Company.

Copyright © 2024 LinuxSimply | All Rights Reserved.