Difference between revisions of "Useful bash shell scripts"
From Notes_Wiki
m |
m |
||
Line 7: | Line 7: | ||
*[[Replace set of lines in a file with output lines of other command using shell script]] | *[[Replace set of lines in a file with output lines of other command using shell script]] | ||
*[[Get count of IP addresses in a log file arranged in descending order of frequency]] | *[[Get count of IP addresses in a log file arranged in descending order of frequency]] | ||
*[[Restart rsync on failure via shell script]] |
Revision as of 05:06, 19 May 2022
Home > Shell scripting > Useful bash shell scripts
- Script for connecting to openVPN and updating nameserver appropriately
- Periodic backup of database
- Mount encrypted filesystems
- Capture gateway IP using shell script
- Replace set of lines in a file with output lines of other command using shell script
- Get count of IP addresses in a log file arranged in descending order of frequency
- Restart rsync on failure via shell script