07. 使用bash Shell.pptVIP

  • 2
  • 0
  • 约 17页
  • 2016-12-19 发布于河南
  • 举报
Creating Shell Scripts continued Step 2: Make the script executable:$?chmod?u+x?myscript.sh To execute the new script: Place the script file in a directory in the executable path -OR- Specify the absolute or relative path to the script on the command line Sample Shell Script #!/bin/bash #?This?script?displays?some?information?about?your?environment echo?Greetings.?The?date?and?time?are?$(date) echo?Your?working?directory?is:?$(pwd) End of Unit 6 Questions and Answers Summary Command expansion: $() History recall: !string, !num Shell scripting 红帽RHCT课程讲义 红帽企业Linux用户基础 RHA030 使用Bas

文档评论(0)

1亿VIP精品文档

相关文档