【Shell】获取当前路径

bathpath=$(cd dirname $0 ; pwd)

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