linux
razy_Monkey
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux软连接和硬链接
1.Linux链接概念Linux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。【硬连接】硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索引节点号(Inode Index)。在Linux中,多个文件名指向同一索引节点是存在的。一转载 2016-01-28 10:48:20 · 469 阅读 · 0 评论 -
socket之send,recv,sendto,recvfrom
send函数 int send( SOCKET s, const char FAR *buf, int len, int flags ); 不论是客户还是服务器应用程序都用send函数来向TCP连接的另一端发送数据。客户程序一般用send函数向服务器发送请求,而服务器则通常用send函数来向客户程序发送应答。该函数的第一个参数指定发送端套接字描述符;第二个参转载 2016-02-29 14:57:36 · 662 阅读 · 0 评论 -
git: git diff “old mode 100755 new mode 100644”
If this is common and the filemodes are not important for this project we can simply tell git to ignore this.Defaultgit config core.filemode falseOnly for this project edit .git/config[Core]f原创 2016-11-16 16:43:47 · 3066 阅读 · 0 评论 -
g++ 编译c++11
使用auto类型,需要在编译时加上:--std=c++11makefile:main:main.o g++ main.o -o mainmain.o:test.cpp stropt.h g++ -c --std=c++11 test.cpp -o main.oclean: rm main*原创 2017-01-02 22:09:20 · 1287 阅读 · 0 评论
分享