BaBash
Featured in Bash
Articles in Bash
17New
A→Z
Bash Concatenate Strings
Join two strings together in Bash
Bash Comments
Comments will help make your scripts more readable
Bash printf
How to use string formatting with bash printf
Bash Case Statement
A popular alternative to the if-then-else statement
Bash Aliases
Create an alias for common commands
Reading User Input
Via command line arguments and prompting users for input
Curl Post Request
Use cURL to send data to a server
Run Bash Shell In Docker
Start an interactive shell in Docker container
How to run chmod recursively
Using -R is probably not what you want
How to use sudo rm -rf safely
We'll help you understand its components
Generate, Sign, and View a CSR With OpenSSL
Learn how to generate, self-sign, and verify certificate signing requests with `openssl`.
How To Use sudo su
A quick overview of using sudo su
Loop Through Files in Directory in Bash
Learn how to iterate over files in a directory linearly and recursively using Bash and Python.
Use Cookies With cURL
Learn how to store and send cookies using files, hard-coded values, environment variables with cURL.
POST JSON Data With Curl
How to send valid HTTP POST requests with JSON data payloads using the curl command and how to avoid common syntax pitfalls. Also, how to solve the HTTP 405 error code.
Bash While Loop
Learn how to use and control the while loop in Bash to repeat instructions, and read from the standard input, files, arrays, and more.
Bash If Statement
Learn how to use the if statement in Bash to compare multiple values and expressions.