上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页
dpkg -l dpkg -l|grep package-name dpkg --status package-name 查看/var/lib/dpkg/status 内容 Read More
posted @ 2016-09-30 09:19 suonikeyinsu Views(1326) Comments(0) Diggs(0) Edit
参考:http://blog.csdn.net/okman1214/article/details/8149728 使用Ubuntu时,apt-get是很方便的一个工具,但默认使用的欧洲源,国内速度太慢。可以把更新源换成速度更快的镜像,并使用apt-fast去多线程更新。 1、备份更新源文件 $ s Read More
posted @ 2016-09-30 09:16 suonikeyinsu Views(289) Comments(0) Diggs(0) Edit
参考:https://blog.gesha.net/archives/406/ 图中的例子很典型,就是:多数的linux系统在free命令后会发现free(剩余)的内存很少,而自己又没有开过多的程序或服务。对于上述的情况,正确的解释是:linux的内存管理机制与windows的有所不同。具体的机制我 Read More
posted @ 2016-09-29 09:21 suonikeyinsu Views(38784) Comments(0) Diggs(0) Edit
第一种就是ftp,也就是其中一台Linux安装ftp Server,另外一台使用ftp的client程序来进行文件的copy。 第二种方法就是采用samba服务,类似Windows文件copy 的方式来操作,比较简洁方便。 第三种就是利用scp命令来进行文件复制。 scp是有Security的文件c Read More
posted @ 2016-09-29 09:04 suonikeyinsu Views(1530) Comments(0) Diggs(0) Edit
PROCESSER=`grep 'processor' /proc/cpuinfo | wc -l` JOBSS=$[$PROCESSER*2] Read More
posted @ 2016-09-27 09:16 suonikeyinsu Views(204) Comments(0) Diggs(0) Edit
zip格式: unzip -n text.zip -d /tmp zip -r test.zip source -x 文件列表 解压缩文件,但不包括指定的file文件。 -v 查看压缩文件目录,但不解压。 -t 测试文件有无损坏,但不解压。 -d 目录 把压缩文件解到指定目录下。 -z 只显示压缩文 Read More
posted @ 2016-09-27 09:15 suonikeyinsu Views(165) Comments(0) Diggs(0) Edit
参考: http://www.geekfan.net/5558/ http://blog.jobbole.com/23638/ http://www.csdn.net/article/2014-03-05/2818640-internet-of-things-blog http://blog.job Read More
posted @ 2016-09-27 09:04 suonikeyinsu Views(1231) Comments(0) Diggs(0) Edit
One traditional way to write network servers is to have the main server block on accept(), waiting for a connection. Once a connection comes in, the s Read More
posted @ 2016-07-17 13:52 suonikeyinsu Views(246) Comments(0) Diggs(0) Edit
#include <sys/types.h> #include <sys/socket.h> int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen); 描述: The accept() system call is used Read More
posted @ 2016-07-17 13:44 suonikeyinsu Views(341) Comments(0) Diggs(0) Edit
#include <sys/types.h> #include <sys/socket.h> int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen); 描述: The connect() system call Read More
posted @ 2016-07-17 13:40 suonikeyinsu Views(299) Comments(0) Diggs(0) Edit
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页