随笔 - 192,  文章 - 0,  评论 - 2,  阅读 - 25万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
03 2019 档案
忽略SIGPIPE信号
摘要:1、编译并执行如上代码, gcc -o sigpipe sigpipe.c 通过另外的一个Linux终端执行killall -SIGPIPE sigpipe 可以看到sigpipe 程序不会退出 2、将main函数中SetupSignal();行注释掉编译 通过另外的一个Linux终端执行killa 阅读全文
posted @ 2019-03-28 23:48 Malphite 阅读(717) 评论(0) 推荐(0) 编辑
Core Dump调试程序crash
摘要:Core Dump 阅读全文
posted @ 2019-03-28 16:38 Malphite 阅读(274) 评论(0) 推荐(0) 编辑
tcpdump 交叉编译
摘要:1下载源码:http://www.tcpdump.org/release/ libpcap-1.4.0.tar.gz tcpdump-4.4.0.tar.gz export PATH=/opt_gccarm/WMS-102-toolchain/bin/:$PATH; export CC=arm-li 阅读全文
posted @ 2019-03-13 14:11 Malphite 阅读(1200) 评论(0) 推荐(0) 编辑
学习
摘要:https://github.com/imhuay/Algorithm_Interview_Notes-Chinese rtmp 阅读全文
posted @ 2019-03-08 15:01 Malphite 阅读(162) 评论(0) 推荐(0) 编辑
Ubuntu下useradd与adduser区别
摘要:Ubuntu下useradd与adduser有所不同 1、useradd在使用该命令创建用户是不会在/home下自动创建与用户名同名的用户目录,而且不会自动选择shell版本,也没有设置密码,那么这个用户是不能登录的,需要使用passwd命令修改密码。 2、adduser在使用该命令创建用户是会在/ 阅读全文
posted @ 2019-03-06 17:36 Malphite 阅读(414) 评论(0) 推荐(0) 编辑
rm: cannot remove ' xxx': Permission denied
摘要:一般出现这个问题的原因是权限被改变了,使用chown 修改即可 可参考:chmod、chgrp、chown详解 linux chmod命令和chown命令 阅读全文
posted @ 2019-03-06 17:23 Malphite 阅读(9946) 评论(0) 推荐(0) 编辑
Ubuntu 将其他盘挂载到/home的子目录下
摘要:Ubuntu 14.04 将其他盘挂载到/home的子目录下当安装完Ubuntu系统,由于当时没有注意,分配的分区空间太小。经过一段时间安装了各式各样的软件后,常常会遇到/home目录下空间不够的情况,这时除了卸载软件以及重装系统以外,还有一个选择就是将其他盘挂载到/home的子目录下来。 下面介绍 阅读全文
posted @ 2019-03-06 15:57 Malphite 阅读(1095) 评论(0) 推荐(0) 编辑
Ubuntu 的 bash和dash的区别
摘要:什么是bash ? Bash(GNU Bourne-Again Shell)是许多Linux平台的内定Shell,事实上,还有许多传统UNIX上用的Shell,像tcsh、csh、ash、bsh、ksh等等,Shell Script大致都类同,当您学会一种Shell以后,其它的Shell会很快就上手 阅读全文
posted @ 2019-03-05 15:46 Malphite 阅读(1398) 评论(0) 推荐(0) 编辑
ssh: connect to host gitlab.alpha.com port 22: Network is unreachable
摘要:在这里只说明我遇到的问题和解决方法,可能并不能解决你遇到的问题: git clone git@gitlab.alpha.com:ipcam/ambarella.gitCloning into 'ambarella'...ssh: connect to host gitlab.alpha.com po 阅读全文
posted @ 2019-03-04 16:54 Malphite 阅读(5207) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示