Difference between revisions of "Useful bash shell scripts"
From Notes_Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
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]] | |||
*[[Simple while loop with count in shell script]] | |||
[[Main_Page|Home]] > [[Shell scripting]] > [[Useful bash shell scripts]] |
Latest revision as of 07:34, 17 May 2023
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
- Simple while loop with count in shell script