shell中 backtricks "`"的用法:
The backtick allows you to assign the output of a shell command to a variable.
可以把一个shell命令的输出付给一个变量
例如
date=`date`
echo The time is $date
user=`who`
echo Now: $user
还是不错的命令
shell中 backtricks "`"的用法:
The backtick allows you to assign the output of a shell command to a variable.
可以把一个shell命令的输出付给一个变量
例如
date=`date`
echo The time is $date
user=`who`
echo Now: $user
还是不错的命令