摘要: vi编辑器,命令行模式输入wq命令无法保存文件? E212: Can't open file for writing 原因是权限不够,需要转换成超级用户 sudo su。 编辑出现行号:set nu 取消行号:set nonu 阅读全文
posted @ 2017-02-28 16:50 lvdh1314 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #include <netdb.h>#include <sys/socket.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <memory.h>#include <unistd.h>int main(int ar 阅读全文
posted @ 2017-02-28 15:17 lvdh1314 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #include<netdb.h>#include<sys/socket.h>#include<unistd.h>#include<string.h>#include<stdio.h>#include<stdlib.h>#include<memory.h>#include<signal.h>#inc 阅读全文
posted @ 2017-02-28 11:23 lvdh1314 阅读(331) 评论(0) 推荐(0) 编辑