coanor

时间总在流逝,思绪过处,留下只言片语。

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

2012年9月18日

摘要: # these shell code used to test file attributes# block devicedevice0="/dev/sda2"if [ -b "$device0" ]then echo "$device0 is a block device."fi# character devicedevice1="/dev/ttyS1" # PCMCIA modem cardif [ -c "$device1" ]then echo "$device is a ch 阅读全文
posted @ 2012-09-18 01:41 coanor 阅读(165) 评论(0) 推荐(0) 编辑