-积累

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2015年12月8日

摘要: 1、基本概念a、I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9;b、常用FD有3个,为0(stdin,标准输入)、1(stdout,标准输出)、2(stderr,标准错误输出),默认与keyboard、monitor、monitor有关;c、用 来改变送出的数据信道(std... 阅读全文
posted @ 2015-12-08 19:58 -积累 阅读(252) 评论(0) 推荐(0)

2015年12月6日

摘要: if[condition];then actionfi运算符描述示例文件比较运算符-efilename如果filename存在,则为真[ -e /var/log/syslog ]-s filename如果 filename存在且非空,则为真[ -s /tmp/letter ]-dfilename如... 阅读全文
posted @ 2015-12-06 20:26 -积累 阅读(217) 评论(0) 推荐(0)