Ubuntu
zhu126fang
这个作者很懒,什么都没留下…
展开
-
Ubuntu频繁掉线
根本原因:网络缓解比较差,应该延长echo-reply信号的次数。1. 打开配置文件sudo gedit /etc/ppp/options 2. 查找到lcp-echo-failure这一行lcp-echo-failure 4 改为 lcp-echo-failure 30 或者更大的数字3. 修改原因lcp-echo-failure次数被设原创 2015-10-16 13:26:25 · 1339 阅读 · 0 评论 -
Ubuntu 目录操作--未完成
1. 目录切换cd ~ 回到主目录cd - 回到上次所在目录cd .. 回到上层目录原创 2015-10-15 13:07:18 · 286 阅读 · 0 评论 -
Ubuntu 下修改文件拥有者
Ubuntu 14.04.1 LTS,普通用户francis1. 将hello0文件夹给francissudo chown francis hello0 查看文件属性francis@Aspire-5100:~/os_diy/01_30days/day01$ ls -al总用量 20drwxr-xr-x 5 root root 4096 10月 15 09:48原创 2015-10-15 16:40:26 · 1242 阅读 · 0 评论 -
ubuntu SDL加载图片
1. 测试是否安装成功#include "SDL/SDL.h" int main( int argc, char* args[] ) { //Start SDL SDL_Init( SDL_INIT_EVERYTHING ); //Quit SDL SDL_Quit(); return 0; } 编译命令:g+原创 2015-10-15 14:45:53 · 494 阅读 · 0 评论 -
gcc 生成汇编代码
1. 编译gcc -S hello.c生成hello.s文件2. 查看hello.s 文件cat hello.s .file "hello.c" .section .rodata.LC0: .string "Hello,World!" .text .globl原创 2015-10-15 16:53:25 · 9172 阅读 · 0 评论