在進入子shell時,應該是復制(類似吧)了父shell的環境變量,然后在子shell中操作環境變量都不會影響到父shell,因為子shell有自己的一個拷貝吧,我是這樣理解的。
2016-09-01
老師你用的是那個版本xshell,我在xshell中設置的是unicode-utf8 但是df -h顯示的仍是英文啊 木有中文啊
2016-08-22
下面的程序有錯誤吧!
奔跑的蠻牛
#!/bin/bash
num1=$1
opt=$2
num2=$3
res=$((num1 opt num2))
echo $res
即可實現+ - / *計算器
奔跑的蠻牛
#!/bin/bash
num1=$1
opt=$2
num2=$3
res=$((num1 opt num2))
echo $res
即可實現+ - / *計算器
2016-08-10