
linux command
kimoli
十多年的软件开发经历,在应用程序,网络应用,图像处理,算法,手机应用有多项目经验。代码质量高。
展开
-
make
make GNU make utility to maintain groups of programs 自动化编译的工具,就是说在一个大的项目中,有很多文件,自动决定哪些要重新编译,及它们之间的依赖关系。 make命令执行时,需要一个Makerfile的文件,告诉make命令需要怎么样的去编译和链接程序。 target ...:preprequisites ... comman原创 2012-06-12 14:36:59 · 155 阅读 · 0 评论 -
shell编程
bash 通配符*?和集合运算符[set]和[!set] 花括号展开式 利用通配符查找文件名的一个更通用的方法。 [前导字符串]{字符串1[,{字符串2[,...]}]}[后继字符串] 每个花括弧中的字符串将与前导字符串后后继字符串匹配。 特殊字符 > 输出重定向 ( 子shell开始 ) 了shell结束 | 管道 \ 引用(转换)下面的字符 & 在后原创 2012-07-09 16:07:33 · 194 阅读 · 0 评论 -
tarball rpm
tarball rpm Tarball文档,其实就是将套件的所有原始码档案先以TAR打包,然后再以压缩技术来压缩,通常 最常见的就是以gzip来压缩了,因为利用了tar与gzip的功能,所以tarball文件一般的后缀名 为.tar.gz或者简定.tgz,也就是说,Tarball套件解压缩之后,里面的文件通常就会有:原始程 序代码文件,侦测程序文件(可能是confi原创 2012-07-10 10:53:45 · 251 阅读 · 0 评论 -
man - format and display the on-line manual pages
man(1) NAME man - format and display the on-line manual pages manpath - determine user's search path for man pages SYNOPSIS man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file原创 2012-06-11 10:46:57 · 208 阅读 · 0 评论 -
ps - report process status
ps - report process status simple selection -A all processes -N negate selection -a all w/ tty except session leaders -d all except session leaders -e all processes T all processes on this term原创 2012-07-11 10:01:36 · 219 阅读 · 0 评论 -
diff - compare files line by line
diff diff [options] files compare files line by line. 输出格式: normal: change_command >dstfile line change_command: src行号(a|d|c)dst行号 a:append d: delete c: change side-by-side: diff -y原创 2012-06-12 15:48:49 · 191 阅读 · 0 评论 -
mknod - make block or character special files.
mknod - make block or character special files. 创建特殊文件。只能由root用户或系统组成员运行。建立一个目录项和一个特殊文件的对应索引点。 mknod [option]... name type [major minor] -m, --mode=MODE set permission mode (ad in chmod原创 2012-07-02 09:47:37 · 235 阅读 · 0 评论 -
passwd
passwd - update a user's authentication tokens 改变用户口令 大多数Linux系统都把口令保存在/etc/passwd文件中,实际上大多数系统实际的口令保存在隐蔽保密字文件/etc/shadow中。 用户信息原创 2012-07-03 13:33:41 · 129 阅读 · 0 评论 -
访问系统信息 /proc
/proC文件系统,可以通过读取它所包含的特殊文件来访问系统的状态信息,这些文件通常都是纯文本的,可以直接查看,也可以写入信息。 man 5 proc /usr/src/linux/Documentation/proc.text /usr/src/linux/Documentation/sysctl 每个在运行的用户级进程在/proc下都有一个目录,是以进程号的十进制数字为原创 2012-07-03 15:26:29 · 298 阅读 · 0 评论 -
ifconfig - configure a network interface
ifconfig - configure a network interface 设定网络参数 ifconfig [interface] ifconfig interface [aftype] options | address ... ifconfig [-a] [-i] [-v] [-s] [[] ] [add [/]] [del [/]] [[-]broadcast原创 2012-07-20 15:11:32 · 426 阅读 · 0 评论 -
strings - print the strings of printable characters in files
strings - print the strings of printable characters in files strings[option] [files] Display printable strings in file(s) (stdin by default) -a,-, --all 在整个文件中查找,不仅仅是data section -f, --print-f原创 2012-07-09 16:19:11 · 171 阅读 · 0 评论 -
ln
ln make links between files ln [option]... target [link_name] ln [option]... target... directory ln [option]... --target-directory=DIRECTORY target 创建链接,默认是创建硬链接,当--symbolic参数指定时创建软链接。 -原创 2012-06-23 18:58:36 · 143 阅读 · 0 评论 -
gdb
gdb the GNU Debugger gdb [-help] [program[core|procID]] [program[core|procID]]:you can also start with both an executable program and a core file specified: gdb program core you can原创 2012-06-13 13:12:20 · 145 阅读 · 0 评论 -
Linux 滚屏与清屏
CTRL+L 清屏,命令clear SHIFT+PgUp / PgDn 滚屏原创 2012-06-11 09:54:25 · 508 阅读 · 0 评论 -
patch
patch [option]... [origfile] [patchfile] -c 所输入的补丁文件看作是上下文格式的差异文件 -d dir 把dir设置为解释补丁文件名的当前目录 -e 把输入补丁文件看作是ED脚本 -l 把不同的空字符序列视为相同 -n 把输入的补丁文件看作是normal格式的差异文件 -s 保持silence -t 执行过程中不要求任何输入 -u原创 2012-06-12 16:03:44 · 139 阅读 · 0 评论 -
nm
nm GNU Development Tools list symbols from object files。列出编入目标文件或二进制文件的所有符号。可以查看执行文件或库文件的符号。 编译器在编译源码时会产生符号来描述这些变量、函数的地址和空间。 一种用途是查看程序调用什么函数,另一个用途是查看一个给定的库或者目标文件是否提供了所需的函数。 nm [options] file 如果没原创 2012-06-22 17:07:39 · 171 阅读 · 0 评论 -
touch - change file timestamps
TOUCH(1) touch - change file timestamps touch [option]... FILE... 以当前时间更新文件的访问和修改时间。 -a 只改变访问时间 -c, --no-create 不创建任何文件 -d, --date=STRING 指定当前时间 -m 只改变修改时间。 -r, --reference=FILE 用文件的时间原创 2012-06-24 14:08:34 · 166 阅读 · 0 评论 -
chmod - change the mode of each file to mode
chmod Change the mode of each FILE to MODE. chmod [option]... MODE[,MODE]... FILE... chmod [option]... OCTAL-MODE file... chmod [option]... --reference=RFILE file -c, --changes like verbose但只原创 2012-06-24 14:09:50 · 208 阅读 · 0 评论 -
ar
ar create, modify, and extract from archives. 创建或修改archive文件,或从存档文件中提取。一个archive就是一个文件,结构化的包含其他文件。用来集合许多文件,成为单一的备存文件,在备存文件中,所有的成员文件都保有原来的属性与权限。用来操作高度结构化的存档文件,该命令最常用来创建静态库,也能创建和维护符号名的交叉索引表。 ar [原创 2012-06-22 17:37:40 · 175 阅读 · 0 评论 -
file - determine file type of files
file determine file type of FILES file [option]... [file]... -m, --magic-file LIST use LIST as a colon-separated list of magic number files. -z, --uncompress 查看压缩文件内部 -b, --brief do not prepend f原创 2012-06-23 18:59:01 · 144 阅读 · 0 评论 -
GCC
GCC(1) gcc - GNU project C and C++ compiler gcc [-c|-E] [-x language] [-o outfile] infile... [-c] 编译或汇编源文件,但不作连接,编译器输出对应于源文件 的目标文件 缺省情况下,后缀名为".o"。 [-o outfile] 指定输出文件。 [-E] 只进行预处原创 2012-06-11 14:46:42 · 157 阅读 · 0 评论