Useful bash shell scripts
From Notes_Wiki
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