Generates a random number between min and max
func IRand(min, max int) int
Generates a random strings between min and max
func SRand(min, max int, readable bool) string
Reverses the string
func Reverse(s string) strings
Shuffles the string
func Shuffle(s string) string
Links Pkg Documantation Repository
If you ever work on a remote servers network settings then this script may safe you from having to call support, and waiting on them.
When started/executed it
Sleeps first for 1 hour Then it renames the ”/etc/network/interfaces” file by adding the current time stamp to the end of the file It renames a file called ”/etc/network/interfaces.org” to ”/etc/network/interfaces” And finally it restarts the server. It also warns you a couple minutes before it does all that so you can terminate the program.