1. ls -l /proc/$$/fd/255|cut -d' ' -f12- | awk '{print $2}'
  2. readlink -f $0 #获取当前脚本路径
文档更新时间: 2018-12-12 20:54   作者:张尚