If/Else Conditional
Basic if/elif/else conditional in Bash. Use [[ ]] for string comparisons and -eq/-ne/-lt/-gt for numbers.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.