linux shell programming

readlink -f filename #返回文件的绝对路径

read 读取用户输入的参数

echo 输出内容

source 读取文件

http://tldp.org/LDP/abs/html/
https://www.tutorialspoint.com/unix/unix-shell.htm
https://bash.cyberciti.biz/guide/Main_Page

本文作者: GavinDong

版权属于: GavinDong博客

文章链接: https://gavindong.com/2033.html

如果使用过程中遇到问题,可 **点击此处** 交流沟通。

版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

(0)

回复 ag

登录后才能评论

评论列表(1条)

  • ag的头像
    ag 2018.01.18 11:44

    #delete older backup data before 3 days.
    find /root/backup/tarfiles -mtime +3 -type f | xargs rm -rf