Getting Arguments in Bash with getopts
Tips on bash scripting, from random strings, to reading default values.
Tips on bash scripting, from random strings, to reading default values.
How to generate random numbers and strings in Bash shell and scripts.
When using read to get a value from the user, it’s really nice to have a default that they can just hit enter to.
Here’s an easy way to use cat in bash to show a file’s contents