Do you want to change/insert/append lines after matching a pattern from a file? If yes, you can use sed to do that. —————————– I’m pas… more →
Mohammedz.comwrote 1 month ago: Do you want to change/insert/append lines after matching a pattern from a file? If yes, you can use … more →
wrote 1 month ago: cut and paste can be handy sometimes, especially when you have to manipulate files based on rows and … more →
wrote 1 month ago: The multiline Next (N) command creates a multiline pattern space by reading a new line of input and … more →
wrote 1 month ago: You may find difficulties with non-printables in your files. You can see such characters if you open … more →
wrote 1 month ago: If you want to set timeouts for user sessions on your Linux machine, you can use the variable TMOUT. … more →
wrote 1 month ago: what day it was exactly one month ago? Are you counting down the days to find it? Or searching for a … more →
wrote 1 month ago: Best way to understand shell scripting is from examples. Find the example below to understand differ … more →
wrote 1 month ago: As you might know, Linux logs all the commands executed on a shell prompt to its history file. The f … more →
wrote 1 month ago: Here is a bash script to backup all MySQL databases from a remote Linux/Unix machine through rsnapsh … more →
wrote 1 month ago: Here is a bash script to backup all mysql databases, including mysqlcheck. The script has the follow … more →
wrote 4 months ago: Simple Commands A simple command is a sequence of optional variable assignments followed by blank-se … more →
wrote 5 months ago: This script can be used to monitor your website URLs. If the site is down or if the specified url is … more →
wrote 6 months ago: This bash script should be helpful to you if your partitions go to read-only mode frequently. This s … more →
wrote 6 months ago: Do you want to remove everything in between two matching patterns? Here is a bash script to do that. … more →
wrote 6 months ago: A timestamp is a sequence of characters, denoting the date and/or time at which a certain event occu … more →
wrote 6 months ago: Here is a bash script to validate your input/output IP address format. This script simply checks if … more →
wrote 6 months ago: Sometimes you will need to permit normal users to run programs that are owned by other users (or roo … more →
wrote 6 months ago: Here is a simple bash script to ping multiple hosts at a time. It’s a very simple and might no … more →
wrote 6 months ago: Here is a simple PHP script to test your mysql connection from webserver. You can download the scrip … more →