Difference between revisions of "Useful bash shell scripts"
From Notes_Wiki
m |
m |
||
Line 7: | Line 7: | ||
*[[Capture gateway IP using shell script]] | *[[Capture gateway IP using shell script]] | ||
*[[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]] |
Revision as of 11:35, 13 February 2016
<yambe:breadcrumb>Shell scripting</yambe:breadcrumb>
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