sh脚本获取当前目录

#!/bin/bash
curDir=$(pwd)
echo "cur dir is:$curDir"

posted on 2016-08-01 10:32  弘道者  阅读(2303)  评论(0编辑  收藏  举报