DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash single line if-else condition
[[ ${value} > 0 ]] && result="yes" || result="no"
Source by yarimdunya.com #
PREVIOUS
NEXT
Tagged:
#bash
#single
#line
#condition
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit