随笔分类 -  Linux

Linux学习及问题总结
Linux hang when password encryption
摘要:When using encryption (cfglib @Secured items, dblib-disk disk encryption), the application uses SecureRandom to get random data (for key generation, e 阅读全文

posted @ 2019-08-27 18:23 Reclouds 阅读(205) 评论(0) 推荐(0)

如何查看linux 近期登陆过得ip
摘要:采用last命令 阅读全文

posted @ 2019-08-27 17:31 Reclouds 阅读(1578) 评论(0) 推荐(0)

亚马逊云服务器上apt 每日更新杀掉mysql
摘要:这个跟我有一样的问题(AWS apt 每日更新mysql.log 没错误信息,查看系统log 发现每次只要daily upgrade,就会杀掉mysql,然后重启起不来) https://blog.csdn.net/flyhelloword/article/details/91492274 http 阅读全文

posted @ 2019-08-02 18:04 Reclouds 阅读(181) 评论(0) 推荐(0)

Linux urandom&random
摘要:【译】 /dev/urandom 不得不说的故事 http://ju.outofmemory.cn/entry/186830 Linux系统小技巧(1):/dev/random设备可能导致java程序启动慢或者操作耗时不正常 https://yq.aliyun.com/articles/128873 阅读全文

posted @ 2019-07-17 16:25 Reclouds 阅读(343) 评论(0) 推荐(0)

Linux下如何从mysql数据库里导出导入数据
摘要:https://blog.csdn.net/u012884402/article/details/47337701 一. 表的导入 1.进入数据库 mysql 数据库名 2.​查看表 show tables;​ 3.导入表 ​mysql -u root 数据库名 < 表名mysql -uroot - 阅读全文

posted @ 2019-05-07 18:08 Reclouds 阅读(485) 评论(0) 推荐(0)

Linux监控实时log
摘要:https://jingyan.baidu.com/article/93f9803f5545a3e0e46f5596.html 阅读全文

posted @ 2018-12-18 09:46 Reclouds 阅读(290) 评论(0) 推荐(0)

Linux 查询PID和端口号
摘要:https://www.cnblogs.com/understander/p/5546458.html 阅读全文

posted @ 2018-11-29 17:16 Reclouds 阅读(284) 评论(0) 推荐(0)

dos2unix xxx.sh
摘要:前几天写了一个Linux的自动化脚本,没有使用变量,就是一些Linux命令的集合 今天试着把一些相同的字段提出来用变量表示,然后在Linux里运行,就发现一直在报错: : command not found24:: command not found25:: No such file or dire 阅读全文

posted @ 2018-11-16 16:55 Reclouds 阅读(297) 评论(0) 推荐(0)

linux杀掉某个进程的脚本
摘要:https://www.cnblogs.com/zeng1994/p/13a2c5a28e55dd3abc2c75a4fb80371a.html awk的说明: https://www.cnblogs.com/xudong-bupt/p/3721210.html 阅读全文

posted @ 2018-11-15 11:17 Reclouds 阅读(298) 评论(0) 推荐(0)

用sed替换含反斜(\)的字符串
摘要:今天在linux替换配置文件时,test文件里有一个字符串 e:\ 需要换成/usr/home/ 用了sed命令:sed -i "s?e:\\?/usr/home/?g" test 但是总是报sed: -e expression #1, char 34: unterminated `s' comma 阅读全文

posted @ 2018-11-15 11:07 Reclouds 阅读(879) 评论(0) 推荐(0)

比较简单的替换配置文件的shell脚本
摘要:作为测试,日常更新部署测试版本,修改配置文件是每天必不可少的一个工作。特别是如果需要更改的配置文件存在于多个文件里,更是繁琐不堪。 找了一下Linux shell脚本里有个sed 命令可以实现这个需求 $OldStr是要被替换的字符串 $NewStr是替换的新字符串 SfileName是修改的文件 阅读全文

posted @ 2018-11-14 10:35 Reclouds 阅读(670) 评论(0) 推荐(0)

【转】linux命令
摘要:shell实例手册 0 说明{ 手册制作: 雪松 更新日期: 2015-11-02 欢迎系统运维加入Q群: 198173206 # 加群请回答问题 欢迎运维开发加入Q群: 365534424 # 不定期技术分享 请使用"notepad++"或其它编辑器打开此文档, "alt+0"将函数折叠后方便查阅 阅读全文

posted @ 2018-08-10 15:19 Reclouds 阅读(487) 评论(0) 推荐(0)

Linux学习自动化脚本(一)
摘要:https://www.cnblogs.com/handsomecui/p/5869361.html https://blog.csdn.net/daigualu/article/details/76358587 因为一直想学习自动化,写自动化关键是要把平时重复手工的过程用代码实现,直接运行这个代码 阅读全文

posted @ 2018-07-17 17:03 Reclouds 阅读(377) 评论(0) 推荐(0)

linux常用命令
摘要:偶然间翻到虫师的博客,写的很好,作为软件测试进阶自动化很有帮助。以后会慢慢把他的博客看完。 今天在他一篇博客上学习到了Linux常用命令。(其实网上Linux学的知识点很多,但大多比较杂,不专一,学习起来东一块,西一块,没有侧重点),但使用linux又必须学一写基本的命令做基础。要不然等写脚本又是一 阅读全文

posted @ 2018-07-17 16:29 Reclouds 阅读(161) 评论(0) 推荐(0)

导航