Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1127062
  • 博文数量: 188
  • 博客积分: 2267
  • 博客等级: 大尉
  • 技术积分: 1907
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-01 11:17
文章分类

全部博文(188)

文章存档

2016年(16)

2015年(16)

2014年(12)

2013年(32)

2012年(45)

2011年(67)

分类: LINUX

2011-08-22 14:45:44

Q: 
sam要编写一个脚本,要求如下:
 1)如果提供的参数不够,则将显示以下使用语法: 
   usage: ./samreport.sh directories...
 2)当执行以下内容:
   $ ./samreport.sh Desktop Documents .bashrc
   脚本将提示用户输入名称:
   who is this report for?
   之后,如果输入“jim”,则脚本的输出内容应为:
   $am's Report
    Desktop: is not empty
    Documents: is empty
    .bashrc: is not a directory
   ___generated for jim___





################################################
################################################################
阅读(1172) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~