我看到了if语句中条件使用 a 的脚本,但$ 我不明白为什么?
if
$
if $( ssh user@host " test -e file " ); then echo "File is there" else echo "We don't that file on that host" fi
shell-script
shell-script ×1