How to Use sed to Find and Replace String in Files
sed is a stream editor. With sed you can search, find and replace, insert, and delete strings and lines. It supports basic and extended regular expressions that allow you to match complex patterns.
How to Increment and Decrement Variable in Bash (Counter)
One of the most common arithmetic operations when writing Bash scripts is incrementing and decrementing variables. This is most often used in loops as a counter, but it can occur elsewhere in the script as well.
How to Set or Change Hostname in Linux
A hostname is a label assigned to a machine that identifies the machine on the network. This tutorial will walk you through the process of changing the hostname in Linux without the need of restarting the system. The steps should work on any modern Linux distribution that uses systemd.
How to Find your IP Address in Linux
Knowing the IP address of your device is important when troubleshooting network issues, setting up a new connection or configuring a firewall. This article explains several different methods of determining the public and private IP Addresses of a Linux system.