在shell 脚本中 看到有如下一段 CONFIG=/etc/ppp/pppoe.conf . $CONFIG PPPOE_PIDFILE="$PIDFILE.pppoe" PPPD_PIDFILE="$PIDFILE.pppd" 请问符号“.”是什么意思?
我的bash shell下$符号不起作用啊!!!!!! 为什么? [root@erpdataserver test]# cat datafile northwest NW Charles Main 3.0 .98 3 34 western WE Sharon Gray 5.3 .97 5 23 southwest SW Lewis Dalsass 2.7 .8 2 18 southern SO Suan Chin 5.1 .95 4 15 southeast ...
if [ 2 > 1 ]; then 这句话都不来米呀,改成if [ 2 -gt 1 ];也不来米,请问> <,+-*/这些东东在shell里到底可以使用么?
比如: #AAA=chinaun 我想利用变量AAA生成字符串chinaunix, 用 #echo $AAA ix 错 #echo $AAA+ix 错 应该怎么连啊?