Shell 编程
放心飞吧
不可知论者的不懈努力
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【Linux Shell】uname命令行
uname命令使用原创 2017-03-09 11:11:43 · 1879 阅读 · 0 评论 -
【Shell Basic】Shell脚本编写规范
dream361@master:~$ cat test2.sh #!/bin/bash 所使用的bash程序# Date 20170330 创建日期# Author: Created By Dream361 作者# Mail : gloryzheng@126.com 邮箱# Func : This Script is for Mysql Backup 脚本的用途# V2.1 脚本版原创 2017-03-30 23:39:53 · 517 阅读 · 0 评论 -
【Shell Basic】source . 与 bash sh 的区别
一、在命令行窗口执行shell脚本时,source .所执行的脚本中,变量的作用域在当前shell窗口期,而bash、sh在shell脚本执行完了就失效了。dream361@master:~$ cat test.sh user='pwd' 当前的脚本内容dream361@master:~$ bash test.sh 用bash执行dream361@master:~$ echo $u原创 2017-03-30 23:27:30 · 1070 阅读 · 0 评论
分享