深入学习ing

2021年3月30日

shell中IFS用法

摘要: A-IFS的介绍: Shell 脚本中有个变量叫IFS(Internal Field Seprator) ,内部域分隔符。完整定义是The shell uses the value stored in IFS, which is the space, tab, and newline charact 阅读全文

posted @ 2021-03-30 22:12 深入学习ing 阅读(1302) 评论(0) 推荐(0)

shell-set指令-set +-x和set+-e等

摘要: A-set示例指令: # 设置指令传回值不等于0,则立即退出shell set -e # 取消设置指令传回值不等于0,则立即退出shell set +e B-set完整指令: set指令能设置所使用shell的执行方式,可依照不同的需求来做设置 -a 标示已修改的变量,以供输出至环境变量。 -b 使 阅读全文

posted @ 2021-03-30 21:36 深入学习ing 阅读(612) 评论(0) 推荐(0)

导航