Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Viewing all articles
Browse latest Browse all 2612

Bash Shell Find Out If a Variable Is Empty Or NotnixCraft Updated Tutorials/Posts

$
0
0

My shell script depends upon user input. How do I find out if a variable called $_JAIL path is empty under a Linux / Apple OS X / Unix like operating systems? Can you tell me command on bash shell to find out if a variable is empty?

The post Bash Shell Find Out If a Variable Is Empty Or Not appeared first on nixCraft.

Viewing all articles
Browse latest Browse all 2612

Trending Articles