当前位置:首页 / 编程技术 / 运营维护
相关栏目: 前端技术 后端技术 运营维护 数据库
#!/usr/bin/expect -fset timeout 30set host
2022/07/10
一、定义函数function fname(){statements;} 或 fname(){statements;}二、调用函数 只需要使用函数名,即可调用某个函数:$ fname ; #执行函数 可以传递参数给函数,并由脚本进行访问:fn
2022/07/10
一、加后缀 1.问题:同以目录下有海量以日期命名的文件,其中有的有后缀,有的以点结尾,如20020101.,20020102.,……,20020101.td,20020102.td……要求: 把所有以点结尾的加上后缀.ts我的方法:#!/b
2022/07/10
一、定义shell函数(define function) 语法:[ function ] funname [()] { action; [return int;] } 说明: 1、可以带function fun() 定义,
2022/07/10
[s005 you] # cat haproxy_expect #!/usr/bin/expectset ssh_user
2022/07/10
sed查看某时间段到现在的系统日志: sed -n '/May 20 17/,$p' /var/log/messages | less
2022/07/10
1、使用find的参数实现 [root@xiaobb mnt]# find . -maxdepth 1 -size +1000000c./sys.tar.gz./install.tar.bz2./CTeX_2.9.0.152_Full.ex
2022/07/10
#!/bin/bashCOUNTER=0_R=0_C=`tput cols`_PROCEC=`tput cols`tput cup $_C $_Rprintf
2022/07/10
资讯推荐
热门最新
精品工具
你可能感兴趣的资讯
换一批