pengdl@localhost:~/test/shell$ 【转载】利用shell脚本获取一个文件的绝对路径readlink的更多相关文章 如何通过shell脚本对一个文件中的所有数值相加并求和 如何通过shell脚本对一个文件中的所有数值相加并求和 1.背景 在一些巡检脚本中有时通常需要把一个文件中的数值进行相加得出综合,由于是文件中的所有数值,因此...
pengdl@localhost:~/test/shell$ ls sh1.sh pengdl@localhost:~/test/shell$ ./sh1.sh Path to sh1.sh is /home/pengdl/test/shell/sh1.sh pengdl@localhost:~/test/shell$
pengdl@localhost:~/test/shell$ ls sh1.sh pengdl@localhost:~/test/shell$ ./sh1.sh Path to sh1.sh is /home/pengdl/test/shell/sh1.sh pengdl@localhost:~/test/shell$