随笔分类 -  Linux UNIX

摘要:This file controls the state of SELinux on the system. SELINUX= can take one of these three values: enforcing SELinux security policy is enforced. per 阅读全文
posted @ 2019-07-05 15:01 easymoneySniper 阅读(2674) 评论(0) 推荐(1)
摘要:... tar zxvf lrzsz 1.12.20.tar.gz 4、进入目录 cd lrzsz 1.12.20 5、./configure prefix=/usr/local/lrzsz 6、make 7、make install 8、建立软链接 cd /usr/bin ln s /usr/lo 阅读全文
posted @ 2017-03-25 20:56 easymoneySniper 阅读(265) 评论(0) 推荐(0)
摘要:linux6/6.5再启动时,按e 在输入行最后面 输入空格 再输入single 启动设置密码即可 单用户模式 在centos7需要 按e 然后滚动列表,找到ro(root旁边),将它替换成rw,空格并加上init=/sysroot/bin/sh, 再按CTRL+X进入到单用户模式,在这个模式下,就 阅读全文
posted @ 2017-03-02 15:12 easymoneySniper 阅读(166) 评论(0) 推荐(0)
摘要:https://linuxtoy.org/archives/what to do if linux crash.html 阅读全文
posted @ 2017-01-22 17:31 easymoneySniper 阅读(180) 评论(0) 推荐(0)
摘要:http://www.jb51.net/LINUXjishu/378593.html 阅读全文
posted @ 2016-10-08 17:39 easymoneySniper 阅读(87) 评论(0) 推荐(0)
摘要:shell脚本Sed & Awk 及软件的安装 http://blog.csdn.net/gogokongyin/article/details/9822831 linux awk 完全手册 及测试内容 http://blog.csdn.net/hyholine/article/details/72 阅读全文
posted @ 2016-10-06 16:57 easymoneySniper 阅读(152) 评论(0) 推荐(0)
摘要:UNIX网络编程——socket的keep http://www.68idc.cn/help/opersys/unixbsd/20150731471448.html 阅读全文
posted @ 2016-10-05 17:40 easymoneySniper 阅读(106) 评论(0) 推荐(0)
摘要://实现详细记录登陆过系统的用户,IP地址,shell命令及详细操作的时间 将下面代码加入/etc/profile //history USER_IP = 2 /dev/null | awk '{print $NF}'| sed e 's/[()] //g' HISTDIR = /usr/share 阅读全文
posted @ 2016-09-02 10:02 easymoneySniper 阅读(440) 评论(0) 推荐(0)
摘要:1.恢复屏幕 尝试输入: cat /bin/cat 输入的屏幕内容非常凌乱,那么该怎么做? 输入: reset 那么屏幕恢复正常了,比关闭再次登录好多了,特别是经过至少5台机器和SSH2才能到达 2.屏幕协作 当有问题需要另个人协助时,这将变得很重要。 你控制一台机器,另一个有B控制,B请求协助,机 阅读全文
posted @ 2016-08-13 11:28 easymoneySniper 阅读(223) 评论(0) 推荐(0)