原文地址:https://blog.csdn.net/liucheng417/article/details/80912291 一、CentOS7.4系统自带mariadb # 查看系统自带的Mariadb [root@iZ2ze3hm3gyjyjz628l7rgZ ~]# rpm -qa|grep ...
分类:
数据库 时间:
2020-06-05 19:21:27
阅读次数:
84
问题: mysql root 没有任何权限 解决方案 1. add skip-grant-tables in /etc/my.conf [root@mysql~]# cat /etc/my.cnf|grep -i skip skip-grant-tables 2. restart mysql sys ...
分类:
数据库 时间:
2020-06-05 01:09:29
阅读次数:
163
shell脚本-awk Linux处理文本工具: grep: 过滤文本内容 sed: 编辑文本内容 awk 显示文本 awk:Aho,Kernighan and Weinberger 报告生成器,以特定的条件查找文本内容,再以特定的格式显示出来 awk命令的格式: awk [option] 'scr ...
分类:
系统相关 时间:
2020-06-05 00:56:45
阅读次数:
117
shell脚本-sed Linux处理文本文件的工具: grep 过滤文件内容 sed 编辑文件内容 awk 正则表达式Regex 正则表达式Regex 匹配单个字符的元字符 . [abc] [a-z] [A-Z] [0-9] [a-zA-Z0-9] [^a-z] [[:alpha:]] [[:up ...
分类:
系统相关 时间:
2020-06-05 00:50:35
阅读次数:
293
1、连接上手机,数据线链接或者无线连接随便 2、打开你需要查看的app 3、打开终端,输入命令: adb shell dumpsys window w |grep \/ |grep name= ...
分类:
移动开发 时间:
2020-06-04 22:03:49
阅读次数:
245
查找file1中每一行是否在file2中,若在输出到InRight.txt, 若不在输出到NotInRight.txt. f1=$1f2=$2 while read mylinedo grepR=`grep $myline $f2` if [[ $grepR != "" ]]; then echo ...
分类:
系统相关 时间:
2020-06-04 14:01:58
阅读次数:
63
CentOS7安装PostgreSQL12 + 完成本地访问 检查本机PostgresSQL并删除 sudo su - //root rpm -aq| grep postgres yum remove postgresql* yum update 检查本机PostgresSQL的数据路径有没有文件( ...
分类:
数据库 时间:
2020-06-04 12:05:30
阅读次数:
132
简单的脚本初始化一个新机器解决在脚本中source或者.不生效的问题#!/bin/bash#使用www普通用户发布,及免密User=wwwPass=2fZotoQdt0k8nWWs1T8scUbm07dVWSKvZmB672XkGwww=grep-w"$User"/etc/passwd|awk-F‘:‘‘{print$1}‘#判断是否为空if[-
分类:
其他好文 时间:
2020-06-04 11:55:16
阅读次数:
210
提出 运行脚本调用其他程序有人值守可以用^C终止运行 若需自动化则要借助kill -9 [pid]终止进程,例如我们需要终止名称中含有app的进程 用法 ps -ef | grep app | grep -v grep | cut -c 9-15 | xargs kill -9 解析 ps -ef ...
分类:
系统相关 时间:
2020-06-03 20:40:41
阅读次数:
113
oracle11g对linux的系统,软件的环境,内存,系统都要求, 这里我系统用的Linux dbserver.benet.com 2.6.32-431.el6.x86_64 也就是CentOS64位 内存 swap的空间一定要是物理内存的2倍以上 查看物理内存 grep MemTotal /pr ...
分类:
数据库 时间:
2020-06-03 20:09:43
阅读次数:
85