Topic

Bash

Scripting the shell: aliases, loops, conditionals, and everyday one-liners.

Featured in Bash

Comments will help make your scripts more readable
Prianka Subrahmanyam
Prianka Subrahmanyam
Via command line arguments and prompting users for input
Amit Jotwani
Amit Jotwani

Articles in Bash

17

How To Use sudo su

A quick overview of using sudo su

Bash Aliases

Create an alias for common commands

Bash Concatenate Strings

Join two strings together in Bash

How to run chmod recursively

Using -R is probably not what you want

Bash Case Statement

A popular alternative to the if-then-else statement

Bash printf

How to use string formatting with bash printf

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.