上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: lib+库名+so 就是库文件 库文件在/lib /usr/lib usr/local/lib -l才可以连接 生成动态库: g++ 生成.o文件 生成静态库: gcc生成.o文件 ar在生成.a文件 阅读全文
posted @ 2016-04-04 13:58 夜空释 阅读(116) 评论(0) 推荐(0)
摘要: pr_debug pr_err pr_warning pr_info 都是打印信息到终端 2. modules_ALIAS模块的别名 3.moudele_param(watchdog,int,0644); MODULE_PARM_DESC(watchdog,"this is hahaha"); // 阅读全文
posted @ 2016-04-04 13:52 夜空释 阅读(162) 评论(0) 推荐(0)
摘要: 1.rc.local系统最后的启动脚本。 rc(0-6).d都是init.d的软连接 2.、etc/profile是用户登录之后的启动脚本 .profile第二部搜寻的脚本 3./home/fa/.config/lxsession/LXDE/autostart @/home/fa/qidong.sh 阅读全文
posted @ 2016-04-04 13:51 夜空释 阅读(177) 评论(0) 推荐(0)
摘要: 1. -R 访问目录下所有文件 2. OpenGL编译链接库:-lGL -lGLU -lgult 3. 在某个目录下搜索某个文件里的关键字 grep “hello” * -rwR 2) sudo find-name \* -type f -print | xargs grep "fb" 4 pyth 阅读全文
posted @ 2016-04-04 13:44 夜空释 阅读(208) 评论(0) 推荐(0)
摘要: #!/usr/bin/expect spawn /bin/su expect "Password: " send "u_password\r" expect eof exit send:用于向进程发送字符串 expect:从进程接收字符串 比如:expect "*assword*" spawn:启动 阅读全文
posted @ 2016-03-31 15:04 夜空释 阅读(203) 评论(0) 推荐(0)
摘要: sudo tar jxvf arm-linux-gcc.4.3.3.tar.bz2 export PATH=$PATH:/usr/local/arm/2.95.3/bin #/usr/local/arm/2.95.3/bin此处为编译器所在的位置 使用arm-linux-gcc –v 检查交叉编译器 阅读全文
posted @ 2016-03-14 19:12 夜空释 阅读(974) 评论(0) 推荐(0)
摘要: CGI用于网页与服务器之间的信息交互,网页留言之后,服务器通过CGI接收到数据后进行处理,处理之后在通过CGI把处理结果返回给网页端,把留言显示在网页上。 阅读全文
posted @ 2016-03-04 00:03 夜空释 阅读(180) 评论(0) 推荐(0)
摘要: # CROSS_COMPILE = arm-linux-CC = $(CROSS_COMPILE)gccINC=-I../ -I.LIB=-lpthread -lcryptoCC_FLAG= -std=gnu99 -WallOBJ=tcp.o serial.o wifi.o encrypt.o st 阅读全文
posted @ 2016-02-19 13:05 夜空释 阅读(114) 评论(0) 推荐(0)
摘要: du -sh originfile //先看看需要制作的源文件夹大小,假如15M dd if=/dev/zero of=new_img.img bs=1024 count=20000 //生成20M的文件 mkfs.ext3 new_img.img mount new_img.img /mnt/ne 阅读全文
posted @ 2016-02-03 16:30 夜空释 阅读(1777) 评论(0) 推荐(0)
摘要: 1. stdout-------printf输出到stdout,并在终端打印 stderr--------perror错误输出到stderr,并在终端打印 2. usleep(1)//代表一微妙 sleep(1)//一秒,等于1000毫秒,1毫秒等于10001微妙 c中没有毫秒函数 3. exit和 阅读全文
posted @ 2016-02-01 23:31 夜空释 阅读(154) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页