码迷,mamicode.com
首页 >  
搜索关键字:awk ping echo    ( 24629个结果
Ansible Linux commonly used moudle example
Ansible 常用模块 参考地址: https://docs.ansible.com/ansible/latest/modules/modules_by_category.html ping command and shell # 注意区别和相同 # command 不能识别变量以及引号内容 ro ...
分类:系统相关   时间:2021-01-19 12:09:17    阅读次数:0
Centos7安装MySQL5.7和Redis6.0流水账
安装mysql 使用rpm包安装 yum remove mariadb-libs.x86_64 yum install perl rpm -ivh mysql-community-common-5.7.31-1.el7.x86_64.rpm rpm -ivh mysql-community-libs ...
分类:数据库   时间:2021-01-19 11:40:29    阅读次数:0
liunx 的一些指令
1、文件类 > 输出重定向 >> 输出追加 ls -l > out.txt 原来out.txt内容会被覆盖,下面的是追加 ls -l >> out.txt echo $PATH 输出内容到控制台 head -n 5 output.txttail -n 5 output.txt // 输出文件尾部5行 ...
分类:其他好文   时间:2021-01-18 11:20:11    阅读次数:0
vim设置颜色主题
为当前用户配置:在家目录下的.vimrc文件中添加 [root@localhost ~]# echo "colorscheme desert" > .vimrc 为所有用户配置:在/etc/vimrc末尾追加, [root@localhost ~]# echo "colorscheme desert ...
分类:系统相关   时间:2021-01-16 12:13:24    阅读次数:0
soul源码阅读(二) 启动http服务
官方文档地址: https://dromara.org/zh-cn/docs/soul/user-http.html http服务就是我们自己的项目。 1.引入 soul-examples/soul-examples-http 到soul.pom中 application.yml中添加自己的soul ...
分类:Web程序   时间:2021-01-16 12:01:05    阅读次数:0
Linux 修改hosts文件
第一种方法: $sudo su #echo "209.85.228.22 dl-ssl.google.com">> /etc/hosts #echo "209.85.228.22 dl.google.com">>/etc/hosts 查看添加成功 #cat /etc/hosts 第二种方法: # 修 ...
分类:系统相关   时间:2021-01-15 11:52:23    阅读次数:0
4、配置MVC的乱码过滤:解决中文乱码
在web.xml中配置以下内容: <!--配置MVC的乱码过滤--> <filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</ ...
分类:Web程序   时间:2021-01-15 11:50:19    阅读次数:0
linux常用命令—eval
eval command:扫描执行两次command 例如: x="abc" y='$x' eval echo $y 结果输出: abc eval echo $y相当于执行了两次echo $y(更确切地说是执行了两次屏幕上显示在eval后面的命令) 第一次:执行的是echo $y输出变量y的值为'$ ...
分类:系统相关   时间:2021-01-14 11:26:41    阅读次数:0
Liunx shell的学习
Shell简单例子 查看当前工作路径并列出当前所有的文件和属性 [xiao@yang play]$ touch example.sh [xiao@yang play]$ vim example.sh [xiao@yang play]$ bash example.sh /home/xiao/Deskt ...
分类:系统相关   时间:2021-01-14 11:02:22    阅读次数:0
shell
#!/bin/bash#筛选分数等级 score=500 if [ $score -gt 100 ];then echo "分数不正确"elif [ $score -ge 80 ];then echo "优秀"elif [ $score -ge 60 ];then echo "及格"elif [ $ ...
分类:系统相关   时间:2021-01-14 11:01:53    阅读次数:0
24629条   上一页 1 ... 30 31 32 33 34 ... 2463 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!