Linux
Unix
Curl Follow Redirect(s)
Learn how to make curl automatically follow a redirect along with the most common pitfalls to avoid when doing so.
Show Curl Headers
curl request and response headers
Curl With Headers
send request headers with cURL
Copy File From Remote To Local Using Scp
copy files and directories from a remote to local
Curl With Basic Auth
perform a basic access authentication with cURL
Removing Directories in Linux
How to remove directories and their content
Chown Recursively
How to recursively change the ownership of files
Chmod +X
An overview of chmod +x and how to use it
Kill Command
Basic syntax and usage of the kill command
Chmod 755
General meaning, examples, and flags for chmod 755
Exclude With Grep
Excluding unwanted key terms or directories when using grep
Grep In a Directory
Grep to search for words/phrases in directories and subdirectories
How To Use Unix Wildcards
How to use wildcard characters in Linux/Unix commands
Grep Across Multiple Lines
Guide on several cases of using grep across multiple lines
What Does sudo chown Do?
Why sudo chown is sudo and some common pitfalls
Bash
How To Use sudo su
A quick overview of using sudo su
How to Add a User to Sudoers
Grant elevated privileges to users
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.
mkdir if not exists
Create directories when they don’t already exist
Kill a Process in Linux
Strategies for finding and killing processes
Linux Chmod Command
Review how to best use the chmod command
Linux File Permissions Explained
Understand what common expressions do
How to use sudo rm -rf safely
We'll help you understand its components
How to run cron every hour
along with variations and examples
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
How to Make Grep Case Insensitive
By default, grep is case sensitive