If parameter not set, use default. echo ${username-`whoami`} # Echoes the result of `whoami`, if variable $username is still unset.
確定! 回上一頁