Docker
Bash
Run Bash Shell In Docker
start an interactive shell in Docker container
Linux
Unix
How To Use sudo su
A quick overview of using sudo su
POST JSON data with cURL
Different ways of sending JSON via cURL
Grep Count
Efficiently count lines or occurrences in a file.
Grep Multiple Strings
For two or more string, use an “or” expression (\|), or the -e flag.
How to use sudo rm -rf safely
We'll help you understand its components
How to run chmod recursively
Using -R is probably not what you want
Bash printf
How to use string formatting with bash printf
Bash Comments
Comments will help make your scripts more readable
Bash Concatenate Strings
Join two strings together in Bash
Curl Post Request
Use cURL to send data to a server
Bash Aliases
Create an alias for common commands
Reading User Input
Via command line arguments and prompting users for input
Bash Case Statement
A popular alternative to the if-then-else statement