随笔分类 -  linux

一次linux中毒,挖矿病毒
摘要:即使kill此进程,也会很快又启动起来。按网上的方法,直接将oracle用户下的.ssh目录删除,问题解决。 接下来vi /etc/passwd,禁用所有不需要的用户,同时修改能登录用户的密码。 阅读全文

posted @ 2021-03-29 09:35 margiex 阅读(271) 评论(0) 推荐(0)

linux rlwrap
摘要:无意中发现了rlwrap,终于可以在linux下使用方向键上下翻页输入过的语句了。 比如sqlplus or ggsci中使用。 如果是ubuntu,则在software center中可以直接安装rlwrap。如果是centos, 需要先安装readline,在安装光盘中已经有此软件,安装即可。然 阅读全文

posted @ 2016-12-21 20:22 margiex 阅读(720) 评论(0) 推荐(0)

vi notes
摘要:x = wqqq!, quit without save.movej,h,k,l^ or 0: start of line$: end of line:0, start of file:$, end of file:n, line n^f: move forward one screen^b: move backward one screenu: undoo: insert a new blank lineyy: copy current linep: paste after the current line/string: search forward?string: search back 阅读全文

posted @ 2014-03-28 23:01 margiex 阅读(164) 评论(0) 推荐(0)