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 flags with if statement

How to Use Flags in Bash If Condition? [With Example]

May 9, 2024May 9, 2024 by Nadiba Rahman

Flags refer to the options, or switches in Bash that specify and customize various settings and change the behavior of …

Read more

yum command not found

Solved “bash: yum: command not found” [RHEL, Fedora, CentOS]

May 2, 2024 by Ashikur Rahman

If you’re encountering the “bash: yum: command not found” error, it typically means that the YUM package manager is not …

Read more

systemctl command not found

[Fixed!] “systemctl command not found” Error in Linux

May 2, 2024May 2, 2024 by Mohammad Shah Miran

The systemctl command is used in Linux to manage the system and services. It is one of the most used …

Read more

How to Pass Arguments to Bash Script

How to Pass Arguments to Bash Script? [5 Methods]

April 23, 2024April 23, 2024 by Mitu Akter Mou

To pass arguments to a Bash script, just write the arguments in the command line after the script name (separated …

Read more

optional arguments in Bash

How to Parse Optional Arguments in Bash Script [2 Ways]

April 23, 2024April 17, 2024 by Md Zahidul Islam Laku

A fully functional Bash script may require optional arguments. They provide flexibility and customization of a script. Positional parameters are …

Read more

How to use the "trap" command to handle signals in bash scripting with 5 examples. How to send signals to a process using the "kill" command.

[Explained] Bash “trap” Command for Signal Handling

April 28, 2024April 8, 2024 by Ridoy Chandra Shil

Mastering signal handling in Bash scripting opens doors to enhanced control and reliability in script execution. The trap command stands …

Read more

bash try catch

[Solved!] Handling Error with TRY CATCH Block in Bash

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

TRY…CATCH block is a fundamental construct for handling exceptions and errors gracefully in various programming languages. It allows you to …

Read more

argument list too long error in Bash

[Solved] “bash: Argument list too long” Error

April 23, 2024April 2, 2024 by Md Zahidul Islam Laku

The “Argument list too long” is an error in Bash shell. Users often encounter the error while executing commands with …

Read more

bash syntax error unexpected end of file

[Fixed!] “syntax error: unexpected end of file” in Bash

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

The “bash syntax error: unexpected end of file” message is one of the most common error messages encountered by bash …

Read more

How to get Argument in Bash

How to Get Argument in Bash? [4 Methods]

April 23, 2024April 1, 2024 by Mitu Akter Mou

An argument is the parameter or data passed to a script or command when it is executed in the terminal. …

Read more

Eval Bash.

How to Use “eval” Command in Bash? [8 Practical Examples]

April 2, 2024March 31, 2024 by Susmit Das Gupta

The eval command is a built-in utility that interprets and executes arguments as shell commands. These commands are stored inside …

Read more

How to use the Bash "trap EXIT" command to execute some specified commands or functions before the script exit with practical examples.

Bash “trap EXIT” Command [2 Practical Examples]

April 28, 2024March 28, 2024 by Ridoy Chandra Shil

In the dynamic landscape of Bash scripting, managing script termination efficiently is crucial for ensuring script reliability and system integrity. …

Read more

bash exit with message feature image

4 Methods to Exit Bash Scripts on Error with Message

March 31, 2024March 28, 2024 by Md Masrur Ul Alam

Bash scripts with effective error handling is crucial for reliable and effective process management. So, being aware of the potential …

Read more

bash getopts

How to Use “getopts” in Bash [Complete Guide]

April 23, 2024March 21, 2024 by Md Zahidul Islam Laku

The getopts command is widely popular for parsing command-line options and arguments. However, unlike many other Bash built-ins, it is …

Read more

bash pipefail feature image

How to Set & Use Pipefail in Bash [Explained Guide]

March 31, 2024March 21, 2024 by Md Masrur Ul Alam

Successful working with piped commands in Bash demands the checking of exit status– especially when commands within the pipeline encounter …

Read more

Overriding Commands

Overriding Commands in Bash

April 3, 2024March 21, 2024 by Mitu Akter Mou

Overriding commands refers to making custom implementations of a built-in or external command. The best way to override a command …

Read more

Bash shutdown command

How to Shutdown Linux? [Fixed “Shutdown Command Not Found”]

April 28, 2024March 21, 2024 by Nadiba Rahman

Shutting down a Linux System implies stopping or powering off the system in a controlled way. There are a few …

Read more

bash pipestatus feature image

Bash PIPESTATUS to Handle Exit Codes of Piped Commands

March 31, 2024March 20, 2024 by Md Masrur Ul Alam

In Bash, piping commands stand as a foundational concept. This allows chain commands for execution using the pipe “|” symbol …

Read more

What is Signals handling in Bash scripting? List of bash signals, how to trap bash signals, applications of bash signals handling.

Bash Signals Handling

April 28, 2024March 20, 2024 by Ridoy Chandra Shil

In the realm of bash scripting, signals stand as a cornerstone for ensuring script stability and responsiveness. Signals act as …

Read more

bash syntax error near unexpected token

[Fixed] “bash: syntax error near unexpected token” Error

April 8, 2024March 19, 2024 by Mohammad Shah Miran

To avoid the “bash: syntax error near unexpected token” error, you should escape parentheses, angle brackets, and any other special …

Read more

Older posts
Page1 Page2 … 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.