linux shell programming

  • A+
所属分类:Notes

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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:1   其中:访客  1   博主  0

    • ag

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