Linux 下面的“$”是什么意思?“运行”;壳内平均csh
在下面的示例中,Linux 下面的“$”是什么意思?“运行”;壳内平均csh,linux,csh,Linux,Csh,在下面的示例中,$?run做什么运行随运行目录而变化。我知道$?具有最后一个命令的状态 if ( ! $?run ) then set run = $PWD endif 您可以使用$?var\u name检查是否定义了变量。从曼恩csh: $?name ${?name} Substitutes the string `1' if name is set, `0' if it is not. 这与特殊的$?变量不同(是的,语法有点混乱)
$?run
做什么<代码>运行随运行
目录而变化。我知道$?
具有最后一个命令的状态
if ( ! $?run ) then
set run = $PWD
endif
您可以使用
$?var\u name
检查是否定义了变量。从曼恩csh
:
$?name
${?name}
Substitutes the string `1' if name is set, `0' if it is not.
这与特殊的$?
变量不同(是的,语法有点混乱)