现在的位置: 首页 > 综合 > 正文

bash review tips

2013年05月07日 ⁄ 综合 ⁄ 共 267字 ⁄ 字号 评论关闭

for i in {1..10}

while [i le 50]
vim /etc/crontab在里面增加下面内容:

50 16 * * * rootrm-rf/abc/* 2>&1 &
00 8-18 * * * root cat /xyz/x1|awk'{print $1}' >> /backup/bak01.txt 2>&1 &
50 17 * * 1 root cd /data;tar -zcvf backup.tar.gz * 2>&1 &
55 17 * * * root umount /hdc 2>&1 &

min hour dayofmonth weekofmonth dayofweek

用=而不是==

grep-vxFf a b |

抱歉!评论已关闭.