LinuxC常用指令
小黄花一朵
这个作者很懒,什么都没留下…
展开
-
Linux常用指令01
01 使用 > 进行文件的重定向 history > a ——将history的输出内容写入到文件a中 a会先被清空,再写入 >>不清空 ,追加写入 02 /dev/null 所有写入到该文件的内容都会被清空 ls > /dev/null 2>&1 ls指令的输出内容不会输出 03 vim /etc/vim/vimrc vim的配置文件,可通过修改内容以...原创 2019-08-17 16:55:02 · 135 阅读 · 0 评论 -
基于UDP协议的客户端与服务器端的文件传送
1、客户端 #include<stdio.h> #include<string.h> #include<stdlib.h> #include<unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/socket.h&g原创 2019-01-23 14:08:10 · 1541 阅读 · 0 评论