实现PWD命令的脚本
时间:2009-01-15 来源:lxq007
a=$(pwd) if [ "$a" = "/root" ] then echo "you are in the root directory" else echo "you are in the "$a" directory" fi
|
相关阅读 更多 +