![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
perfectnihil
java,dart,python,js,lua
展开
-
putty 隔一段时间就掉线怎么解决
1.进入putty, 选择左侧的Connection2.在右侧有Sending of null packets to keep session active设为10即可(意思每是十秒发送一次空包用来保持连接)完成原创 2017-12-16 22:21:35 · 10973 阅读 · 5 评论 -
关于 Found a swap file by the name xx
1.什么是swap file在linux中打开文件的时候在硬盘上为这个文件开辟的一段空间2.为什么就会出现 Found a swap file by the name xx当某次对文件进行编辑的时候,因为某些意外导致该次编辑异常退出,则最后其swap file 不能删除,则会出现 Found a swap file by the name xx3.怎么原创 2017-12-17 12:50:03 · 544 阅读 · 0 评论 -
关于 cannot open directory '.': Permission denied
现象 :ls -a 出现如下提示ls: cannot open directory '.': Permission denied原因:权限不够解决:sudo ls -a原创 2017-12-17 22:01:17 · 40022 阅读 · 7 评论 -
常用linux命令(一)shell类型
1.查看当前linux支持的shell类型cat /etc/shells2.查看某个用户的Shell类型cat /etc/passwd | grep ^某某3.查看正在运行的shell类型echo $0原创 2017-12-17 22:17:15 · 245 阅读 · 0 评论 -
putty 实现免密登录
1.使用puttygen.exe 生成公钥及私钥2.使用账号密码登录服务器,将公钥保存到~/.ssh/authorized_keys 文件中3.新建某session 使用该私钥匙并保存,下次直接使用这个SavedSessions 即可原创 2017-12-18 22:38:16 · 748 阅读 · 0 评论