码迷,mamicode.com
首页 >  
搜索关键字:cat touch stat查看文件属性 更改时间戳    ( 28216个结果
Shell脚本--删除文本中指定字符开头的行
删除文本中指定字符开头的行: cat /root/1.txt | sed -e '/^WARN/d' > /root/2.txt 注意:上面红色字体为开头行的关键字 cat:查看文件 /root/filename:文件名| :管道符sed:在sed处理文件的时候,每一行都被保存在一个叫模式空间的临时 ...
分类:系统相关   时间:2021-06-22 17:54:38    阅读次数:0
Centos 8.2 x64安装MariaDB(MySql)---九五小庞
简介OS: CentOS Linux release 8.2 开始清除mysql# 查看系统信息$ cat /etc/redhat-releaseCentOS Linux release 8.2.2004 (Core) # 查看有没有mysql$ rpm -qa | grep mysqlmysql- ...
分类:数据库   时间:2021-06-22 17:36:24    阅读次数:0
elasticSearch基本操作
1、查看所有索引 GET _cat/indices 2、创建一个新的索引 PUT /test { "mappings": { "_doc": { "properties": { "id": {"type": "keyword"}, "title": {"type": "keyword"}, "esD ...
分类:其他好文   时间:2021-06-21 21:11:29    阅读次数:0
nacos读取不到nacos中配置信息问题
pom.xml配置 需要添加spring-boot-starter-actuator很重要不要然报错 <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-co ...
分类:其他好文   时间:2021-06-21 21:11:16    阅读次数:0
在centos6.5下PHP5.4升级到5.5
升级原因:为了在本地安装跟公司测试服一样的服务器环境,需要把本地PHP版本从5.4升级到5.5。 操作步骤: 1. 查看当前centos版本 [root@localhost ~]# cat /etc/redhat-release 2. 根据当前centos版本,更换对应版本的RPM 源(软件仓库) ...
分类:Web程序   时间:2021-06-21 20:30:16    阅读次数:0
1.3.7、通过QueryParam匹配
server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Query=smile # ...
分类:其他好文   时间:2021-06-21 20:30:01    阅读次数:0
服务器root密码忘记
重启服务器 光标第一行按E进入单用户模式 UTF8后面添加rd.break 然后ctrl+x 同时按 mount -o remount,rw /sysroot chroot /sysroot passwd touch /.autorelabel exit reboot ...
分类:其他好文   时间:2021-06-21 20:27:56    阅读次数:0
vue系列 url的hash和HTML5的history
url的hash和HTML5的history URL的hash URL的hash也就是锚点(#), 本质上是改变window.location的href属性. 我们可以通过直接赋值location.hash来改变href, 但是页面不发生刷新 history H5的history接口是HTML5新增 ...
分类:Web程序   时间:2021-06-21 20:05:45    阅读次数:0
天气情况的获取
函数获取使用高德天气接口 import requests 爬取数据 def read_location(name): centerurl = "https://restapi.amap.com/v3/config/district?keywords=" centerurl2 = "&subdistr ...
分类:其他好文   时间:2021-06-21 20:05:25    阅读次数:0
kafka命令行的管理使用
1、创建topic 使用 kafka-topics.sh脚本 kafka-topics.sh --create --partitions 3 --replication-factor 2 --topic test --zookeeper hadoop01:2181,hadoop02:2181,had ...
分类:其他好文   时间:2021-06-20 18:38:22    阅读次数:0
28216条   上一页 1 ... 4 5 6 7 8 ... 2822 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!