![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
京金
工地搬砖工,美团外卖员,申通快递员,KTV跑腿小哥。
展开
-
【shell小记】grep分组捕获和bc的使用
【代码】【shell小记】grep分组捕获和bc的使用。原创 2023-06-15 12:04:57 · 386 阅读 · 0 评论 -
promethues node exporter安装脚本
promethues node exporter安装脚本原创 2022-10-12 15:14:19 · 209 阅读 · 0 评论 -
shell最全笔记
一. linux中的shell1、查看linux使用的shell在linux中多个shell,有c shell, k shell,等等。在centos7中,Bourne Again shell才是主要使用的,即是bash.查看/etc/shellslrwxrwxrwx. 1 1M Dec 10 08:43 /bin/sh -> bash-rwxr-xr-x. 1 1M Mar 31 2020 /bin/bashlrwxrwxrwx. 1 1M Dec 10 08:43原创 2022-05-21 21:23:38 · 1946 阅读 · 0 评论 -
2021-12-6 每日记shell命令之sort排序以及批量执行sql文件
2021-12-6 每日记shell命令之sort排序以及批量执行sql文件先使用-t将V给和数字分开然后-n按照数字排序[root@joker ~]# ls migration | sort -n -t 'V' -k 2V1__init.sqlV2__metersphere_ddl.sqlV3__init_data.sqlV4__user_key.sqlV5__schedule.sqlV6__api_test_environment.sqlV7__modify_user_tab原创 2021-12-06 13:46:34 · 155 阅读 · 0 评论 -
2021-11-03 每日记shell命令之根据关键字查找归属文件
根据关键字,查找归属文件yf@yf:~/kafka_2.12-3.0.0/config$ lsconnect-console-sink.properties connect-file-source.properties consumer.properties server.propertiesconnect-console-source.properties connect-log4j.properties kraft tools-log4j原创 2021-11-03 14:45:13 · 186 阅读 · 0 评论 -
nginx安装脚本
#!/bin/bashurl="http://nginx.org/download/nginx-1.16.1.tar.gz"nginxdir="/opt/nginx"echo "_____________________start_down____________________"if [ ! $(cat /etc/passwd | cut -d ":" -f1 | grep nginx)...原创 2019-10-17 17:16:03 · 110 阅读 · 0 评论 -
shell总结
文章目录1.)变量和表达式1.运行程序的三种方式:2.选择解释器:3.执行原理:4.shell的命令种类5.变量5.1 配置文件加载顺序:6.单双引号:7.Null和初始化变量8.变量类型: 全局和局部(local)9.export声明变量10.env 临时修改环境变量值,下一条命令就会改回来11.unset 删除当前shell中的函数或变量,11.1 申明变量的常见方式:12. 数值运算13. ...原创 2019-10-17 10:49:03 · 585 阅读 · 0 评论 -
shell中脚本参数传递的两种方式
https://blog.csdn.net/sinat_36521655/article/details/79296181转载 2019-05-15 15:29:27 · 2948 阅读 · 0 评论 -
shell面试题汇总
一道统计句子中单词长度的题:https://blog.csdn.net/qq_24336773/article/details/80912883转载 2018-12-08 15:54:43 · 98 阅读 · 0 评论 -
shell中的通配符
shell通配符转载 2017-07-08 21:52:48 · 924 阅读 · 2 评论 -
linux的ctime,atime,mtime
ctime,atime,mtime转载 2017-07-09 22:56:35 · 337 阅读 · 0 评论