【Shell】获取当前路径

bathpath=$(cd dirname $0 ; pwd)

posted @ 2017-05-08 14:00  bamboo233  阅读(929)  评论(0编辑  收藏  举报