
《Shell脚本攻略》
《Shell脚本攻略》读书笔记
说文科技
同名公众号【说文科技】,做有态度的研究。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell脚本之批量删除文件
shell脚本之批量删除文件原创 2021-04-15 22:50:13 · 2787 阅读 · 0 评论 -
shell脚本攻略读书笔记之七&&&find命令精解
shell脚本攻略读书笔记之七,使用find命令完成常见任务,如:统计当前目下的文件个数;查找具有相关特性的文件等等。原创 2018-08-14 17:08:53 · 711 阅读 · 1 评论 -
Shell脚本攻略读书笔记六之Date命令
Shell脚本攻略读书笔记之六 查看时区 date -R 更改时区 tzselect 查看时间 date 查看日历 cal 修改时间 date -s 11/28/2016【接日期】 将时间修改为2016年11月28日0点 0:16:11【接时间】 修改当前时间为 0:16:11 [root@server4 local]# date -s...原创 2018-08-07 17:29:48 · 522 阅读 · 0 评论 -
Shell脚本攻略读书笔记之五
Shell脚本攻略读书笔记之五原创 2018-08-04 20:05:20 · 424 阅读 · 0 评论 -
Shell脚本攻略读书笔记之四
Shell脚本攻略读书笔记之四 [root@server4 ~]# cat test3.sh #!/bin/bash cat <<EOF> log.txt LOG FILE HEADER This is a test log file Function:System statistics EOF [root@server4 ~]# chmod a+x test3.sh [ro...原创 2018-08-04 18:51:36 · 407 阅读 · 0 评论 -
Shell脚本攻略读书笔记之三
Shell脚本攻略读书笔记之三 1.环境变量 Note that var = value and var=value are different. It is a usual mistake to write var = value instead of var=value. The later one is the assignment operation, whereas the ea...原创 2018-07-24 15:28:30 · 438 阅读 · 0 评论 -
《Shell脚本攻略读书》笔记二之$命令的使用
shell脚本中$符号的使用是为了常用于定义变量。原创 2018-07-20 14:08:36 · 529 阅读 · 0 评论 -
shell脚本攻略读书笔记之一
Shell脚本攻略读书笔记之一 [root@server5 local]# echo &quot;hello shell&quot; hello shell [root@server5 local]# printf &quot;hello shell&quot; hello shell[root@server5 local]# # printf &quot;hello shell\n&quot; hello s原创 2018-07-16 15:31:31 · 494 阅读 · 0 评论