ZKX's LAB

shell脚本重复一条命令多次 linux shell 脚本,重复执行命令。

2021-04-28知识7

为什么shell脚本会有赋值语句的等号两边不能有空格这种奇葩语法? Spaces in variable assignments in shell scriptshttps://unix.stackexchange.com/questions/258727/spaces-in-variable-assignments-in-shell-scripts ? 567 ? 。

用shell写一个脚本按日期循环执行某一条命令怎么写 [$?eq 0]&echo '成功'|echo '失败4102'[root@centos~1653]#lsanaconda-ks.cfg install.log install.log.syslog rpmbuild[root@centos~]#[$?eq 0]&echo '成功'|echo '失败'成功[root@centos~]#lsssbash:lsss:command not found[root@centos~]#[$?eq 0]&echo '成功'|echo '失败'失败[root@centos~]#

linux shell 脚本,重复执行命令。 #。bin/shA=find/home/root/main-name 'deal';chmod+x$A;nohup$A$;

#shell脚本重复一条命令多次

随机阅读

qrcode
访问手机版