自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

转载 特定脚本参数

2013-07-31 17:00:45 422

转载 linux echo命令的-n、-e两个参数

From: http://blog.sina.com.cn/s/blog_4da051a6010184uk.htmlecho -n 不换行输出$echo -n "123"$echo "456"最终输出 123456而不是123456echo -e 处理特殊字符若字符串中出现以下字符,则特别加以处理,而不会将它当成一般文字输出:\a

2013-07-26 18:31:12 2003

原创 bash: wc

WC(1)                                                                                        User Commands                                                                                        WC(1)

2013-07-25 14:00:39 1047

转载 States of Cache line

Refer to: http://en.wikipedia.org/wiki/MOESI_protocolhttp://en.wikipedia.org/wiki/MESI_protocolMOESI protocolIn computing, MOESI is a full cache coherency protocol that encompasses a

2013-07-24 11:15:37 846

转载 Linux Notification

http://blog.csdn.net/adaptiver/article/details/6651830

2013-07-14 17:13:05 538

转载 /etc/inittab文件详解

http://blog.csdn.net/adaptiver/article/details/6670421

2013-07-14 17:11:27 546

转载 文件包含#include

转自: C程序设计(第二版) 谭浩强在#include命令中,文件名可以用双撇号或尖括号括起来,如可以在file1.c中用:#include or#include "file2.h"都是合法的。二者的区别:用尖括号(即形式)时,系统到存放C库函数头文件所在的目录中寻找要包含的文件,这称为标准方式。用双撇号(即"file2.h"形式)时,系统现在用户当

2013-07-14 16:11:36 1307

转载 fseek(3) - Linux man page

From: http://linux.die.net/man/3/fseekNamefgetpos, fseek, fsetpos, ftell, rewind - reposition a streamSynopsis #include stdio.h>int fseek(FILE *stream, long offset, intwhence); long

2013-07-13 21:01:51 1269

转载 lseek(2) - Linux man page

From:  http://linux.die.net/man/2/lseek Namelseek - reposition read/write file offset Synopsis#include sys/types.h>#include unistd.h>off_t lseek(int fd, off_t offset, intwhence); D

2013-07-13 20:37:44 1086

转载 cpu_set(3) - Linux man page

From: http://linux.die.net/man/3/cpu_set NameCPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, CPU

2013-07-13 00:20:40 3112

转载 sched_setaffinity(2) - Linux man page

From http://linux.die.net/man/2/sched_setaffinity Namesched_setaffinity, sched_getaffinity - set and get a process's CPU affinity maskSynopsis#define _GNU_SOURCE /* See feature

2013-07-12 23:29:13 1878

原创 size_t

$ man 2 write WRITE(2)                NAME       write - write to a file descriptor 描述符 SYNOPSIS       #include         ssize_t write(int fd, const void *buf, size_t count);

2013-07-12 19:47:26 538

原创 总结typedef用法

经常碰到类似的句子,怎么都理解不了。今天又看到一个是在头文件里的。大体如下:#define _GNU_SOURCE#include typedef struct cpu_set_t ;size_t CPU_SETSIZE ;void CPU_SET(unsigned long cpu , cpu_set_t *set);void CPU_CLR(unsigned lon

2013-07-12 19:21:16 843

LINUX和UNXIS SHELL编程指南

本书共分五部分,详细介绍了shell编程技巧,各种UNIX命令及语法,还涉及了UNIX下的文字处理以及少量的系统管理问题。本书内容全面、文字简洁流畅,适合Shell编程人员学习、参考。

2010-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除