default value for shell script argument lwpro2 Java February 11, 2020February 11, 2020 <code>somecommand ${1:-foo}</code> https://wiki.bash-hackers.org/syntax/pe#use_a_default_value Related Published by lwpro2 View all posts by lwpro2 Published February 11, 2020February 11, 2020