
linux
gongmf
这个作者很懒,什么都没留下…
展开
-
sort +awk+uniq 统计文件中出现次数最多的前10个单词
原文地址:+awk+uniq 统计文件中出现次数最多的前10个单词" style="text-decoration:none; color:rgb(62,115,160)">sort +awk+uniq 统计文件中出现次数最多的前10个单词作者:小新 实例 cat logt.log|sort -s -t '-' -k1n |awk '{print $1;}'|uniq -c|sort -k1n转载 2015-11-06 10:01:26 · 13249 阅读 · 0 评论 -
linux普通用户免密码登陆不成功,日志提示Authentication refused: bad ownership or modes
linux的两天机器间设置免密码登陆,使用ssh-keygen -t rsa ,具体方法上网查找。 今天主要想记录普通用户设置后不成功的问题,我用root的用户能够成功。 tail -10f /var/log/secure 有日志打印:Authentication refused: bad ownership or modes for file /home/xxxxxx/.s原创 2016-03-16 20:41:40 · 3095 阅读 · 0 评论