工具
qq_35770207
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
极简mysql单机多实例安装
mysql安装mysql下载准备配置文件mysql初始化授权目录启动修改密码TIPS mysql下载 略 准备配置文件 修改my.cnf文件 [client] port = 3306 socket = /tmp/mysql.sock [mysqld] bind-address=xx.xx.xx.xx port = 3306 socket = /tmp/mysql.sock user=mysql basedir=/usr/lo原创 2020-08-19 19:42:18 · 256 阅读 · 0 评论 -
比较两个文件的不同行小工具
经常会遇到比较两个文件的不同行的需求,这里记录下简单的方法 以下面两个文件为例: 1,首先对两个文件分别排序去重 sort 1.txt | uniq >> s1.txt sort 2.txt | uniq >> s2.txt 注意需要去重(具体原因下面解释) 2,用comm命令比较两个文件 comm file1 file2 comm用于比较两个文...原创 2020-04-23 20:47:13 · 767 阅读 · 0 评论
分享