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

Bash Scripting

bash yarn command not found

[Solved] “bash: yarn: command not found” Error

May 2, 2024February 11, 2024 by Ashikur Rahman

“yarn: command not found” in Bash indicates that the Yarn package manager is either not installed or inaccessible. To fix …

Read more

bash string to int

How to Convert a Bash String to Int? [8 Methods]

March 31, 2024February 11, 2024 by Afia Zahin Oishi

In bash scripting, the conversion of the string is important for arithmetic operations. You can not perform the arithmetic operations …

Read more

10 Common Bash scripting examples of using the "for" loop to generate patterns, different mathematical sequences, passwords, etc.

10 Common Bash “for” Loop Examples [Basic to Intermediate]

March 17, 2024February 11, 2024 by Ridoy Chandra Shil

The Bash for loop is more than just a tool. It is a gateway to efficient scripting and streamlined automation. …

Read more

bash script options

How to Add Options in a Bash Script [2 Methods]

April 3, 2024February 11, 2024 by Md Zahidul Islam Laku

Bash commands often come with options and the output of a command varies depending on the options provided. Therefore, it …

Read more

Bash remove last character from string.

How to Remove Last Character from Bash String [6 Methods]

March 31, 2024February 10, 2024 by Susmit Das Gupta

A string is a collection of characters including numbers and special characters. In Bash scripting, string manipulation is one of …

Read more

Skip the first line of bash multiline string.

4 Methods to Skip First Line of Bash Multiline String

March 17, 2024February 8, 2024 by Auhona Islam

In Bash, a multiline string is an essential tool for refining the text processing workflows and enhancing script functionality. While …

Read more

Feature image-Bash check if command fails or succeeds

Check If Bash Command Fail or Succeed [Exit If Fail]

May 9, 2024February 8, 2024 by Nadiba Rahman

Exit status is the performance indicator that incorporates checking if a command fails or succeeds in Bash. Whether you are …

Read more

bash print exit code

Print and Handle Error with Bash Exit Code [Easy Guide]

April 8, 2024February 8, 2024 by Mohammad Shah Miran

Error handling is one of the most important aspects of bash scripting. It is essential for maintaining the reliability and …

Read more

bash error handling

Bash Error Handling

April 8, 2024February 8, 2024 by Mohammad Shah Miran

To build robust and reliable automation, error handling in bash scripts is essential. Without proper error handling a script may …

Read more

bash filter array feature image

How to Filter an Array in Bash? [8 Methods]

March 17, 2024February 8, 2024 by Md Masrur Ul Alam

You can use the following methods to filter an array in Bash: Using for Loop: for (( i = 0; …

Read more

How to Use “sleep” command in Bash “while” Loop

How to Use “sleep” Command in Bash “while” Loop [6 Examples]

March 31, 2024February 8, 2024 by Mitu Akter Mou

In Bash, the sleep command in combination with a while loop executes a series of statements repeatedly with a specified …

Read more

bash foreach array feature image

Iterate Through a Bash Array Using “foreach” Loop [5 Examples]

April 17, 2024February 7, 2024 by Md Masrur Ul Alam

In Bash, handling the array data structure may often cause the necessity of iterating through the array elements. While one …

Read more

bash if loop

Different Loops with If Statements in Bash [5 Examples]

May 9, 2024February 6, 2024 by Nadiba Rahman

Using loops with if statements is a powerful mechanism in Bash for executing conditional logic over a series of data …

Read more

In Bash scripting, how to use the for loop to iterate over the array element for precise and efficient script manipulation and automation.

How to Loop Through Array Using “for” Loop in Bash

March 17, 2024February 6, 2024 by Ridoy Chandra Shil

Looping through arrays is essential for processing data efficiently in Bash scripting. Arrays provide a structured way to organize and …

Read more

Multiline string in Bash.

Bash Multiline String

March 17, 2024February 6, 2024 by Auhona Islam

When working in Bash scripting, there exist some instances where you need to expand the traditional strings over multiple lines. …

Read more

bash while loop continue

How to Use Bash Continue with “while” Loop [7 Examples]

March 31, 2024February 6, 2024 by Susmit Das Gupta

Continue statement in bash while loop skips the current iteration and jumps to the next iteration. It is a control …

Read more

An overview on bash string replace

How to Replace String in Bash? [5 Methods]

March 31, 2024February 6, 2024 by Afia Zahin Oishi

In bash scripting, the replacement of string is important because it allows you to modify a variable and the text …

Read more

Bash One Line “while” Loop

How to Use Bash One Line “while” Loop [8 Examples]

March 31, 2024February 5, 2024 by Mitu Akter Mou

In Bash, a one-line while loop is a loop construct that fits into a single line of code. When comes …

Read more

bash array of strings with spaces feature image

Master Bash Array of Strings with Spaces [Complete Guide]

March 17, 2024February 5, 2024 by Md Masrur Ul Alam

You can use the following syntax to work with a Bash array of strings with spaces: To declare the array: …

Read more

call bash function

How to Call a Function in Bash [7 Cases]

April 3, 2024February 4, 2024 by Md Zahidul Islam Laku

Calling Bash functions is as simple as invoking a Bash command. To call an already-declared Bash function, use the function …

Read more

Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page20 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.