Home
Press ? for keyboard navigation
❮
Bash command line parameters
Bash while-loop
❯
if
Bash if parameter
examples/bash/if_parameter.sh
#!/bin/bash
if
[
"
$1
"
==
""
]
then
echo
$0
DIRNAME
exit
1
fi
echo
"
$1
"
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)