nixCraft Linux / UNIX Newsletter

Link to nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)

Bash Shell: Find Out If a Variable Is Set or Not

Posted: 14 Dec 2021 10:26 AM PST


{Updated} How do I show an error when a shell variable such as $1 is not set and exit with an error?
The post Bash Shell: Find Out If a Variable Is Set or Not appeared first on nixCraft.