linux command
kimoli
十多年的软件开发经历,在应用程序,网络应用,图像处理,算法,手机应用有多项目经验。代码质量高。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
make
makeGNU make utility to maintain groups of programs自动化编译的工具,就是说在一个大的项目中,有很多文件,自动决定哪些要重新编译,及它们之间的依赖关系。make命令执行时,需要一个Makerfile的文件,告诉make命令需要怎么样的去编译和链接程序。target ...:preprequisites ...comman原创 2012-06-12 14:36:59 · 175 阅读 · 0 评论 -
shell编程
bash通配符*?和集合运算符[set]和[!set]花括号展开式利用通配符查找文件名的一个更通用的方法。[前导字符串]{字符串1[,{字符串2[,...]}]}[后继字符串]每个花括弧中的字符串将与前导字符串后后继字符串匹配。特殊字符> 输出重定向( 子shell开始) 了shell结束| 管道\ 引用(转换)下面的字符& 在后原创 2012-07-09 16:07:33 · 220 阅读 · 0 评论 -
tarball rpm
tarball rpmTarball文档,其实就是将套件的所有原始码档案先以TAR打包,然后再以压缩技术来压缩,通常最常见的就是以gzip来压缩了,因为利用了tar与gzip的功能,所以tarball文件一般的后缀名为.tar.gz或者简定.tgz,也就是说,Tarball套件解压缩之后,里面的文件通常就会有:原始程序代码文件,侦测程序文件(可能是confi原创 2012-07-10 10:53:45 · 282 阅读 · 0 评论 -
man - format and display the on-line manual pages
man(1)NAMEman - format and display the on-line manual pagesmanpath - determine user's search path for man pagesSYNOPSISman [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file原创 2012-06-11 10:46:57 · 236 阅读 · 0 评论 -
ps - report process status
ps - report process statussimple selection-A all processes-N negate selection-a all w/ tty except session leaders-d all except session leaders-e all processesT all processes on this term原创 2012-07-11 10:01:36 · 245 阅读 · 0 评论 -
diff - compare files line by line
diffdiff [options] filescompare files line by line.输出格式:normal: change_command >dstfile linechange_command: src行号(a|d|c)dst行号 a:append d: delete c: changeside-by-side: diff -y原创 2012-06-12 15:48:49 · 219 阅读 · 0 评论 -
mknod - make block or character special files.
mknod - make block or character special files.创建特殊文件。只能由root用户或系统组成员运行。建立一个目录项和一个特殊文件的对应索引点。mknod [option]... name type [major minor]-m, --mode=MODEset permission mode (ad in chmod原创 2012-07-02 09:47:37 · 259 阅读 · 0 评论 -
passwd
passwd - update a user's authentication tokens改变用户口令大多数Linux系统都把口令保存在/etc/passwd文件中,实际上大多数系统实际的口令保存在隐蔽保密字文件/etc/shadow中。用户信息原创 2012-07-03 13:33:41 · 148 阅读 · 0 评论 -
访问系统信息 /proc
/proC文件系统,可以通过读取它所包含的特殊文件来访问系统的状态信息,这些文件通常都是纯文本的,可以直接查看,也可以写入信息。man 5 proc/usr/src/linux/Documentation/proc.text/usr/src/linux/Documentation/sysctl每个在运行的用户级进程在/proc下都有一个目录,是以进程号的十进制数字为原创 2012-07-03 15:26:29 · 324 阅读 · 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 · 455 阅读 · 0 评论 -
strings - print the strings of printable characters in files
strings - print the strings of printable characters in filesstrings[option] [files]Display printable strings in file(s) (stdin by default)-a,-, --all 在整个文件中查找,不仅仅是data section-f, --print-f原创 2012-07-09 16:19:11 · 189 阅读 · 0 评论 -
ln
lnmake links between filesln [option]... target [link_name]ln [option]... target... directoryln [option]... --target-directory=DIRECTORY target创建链接,默认是创建硬链接,当--symbolic参数指定时创建软链接。-原创 2012-06-23 18:58:36 · 159 阅读 · 0 评论 -
gdb
gdbthe GNU Debuggergdb [-help][program[core|procID]][program[core|procID]]:you can also start with both an executable program and a core file specified: gdb program coreyou can原创 2012-06-13 13:12:20 · 164 阅读 · 0 评论 -
Linux 滚屏与清屏
CTRL+L 清屏,命令clearSHIFT+PgUp / PgDn 滚屏原创 2012-06-11 09:54:25 · 536 阅读 · 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 · 160 阅读 · 0 评论 -
nm
nmGNU Development Toolslist symbols from object files。列出编入目标文件或二进制文件的所有符号。可以查看执行文件或库文件的符号。编译器在编译源码时会产生符号来描述这些变量、函数的地址和空间。一种用途是查看程序调用什么函数,另一个用途是查看一个给定的库或者目标文件是否提供了所需的函数。nm [options] file如果没原创 2012-06-22 17:07:39 · 190 阅读 · 0 评论 -
touch - change file timestamps
TOUCH(1)touch - change file timestampstouch [option]... FILE...以当前时间更新文件的访问和修改时间。-a 只改变访问时间-c, --no-create 不创建任何文件-d, --date=STRING 指定当前时间-m 只改变修改时间。-r, --reference=FILE 用文件的时间原创 2012-06-24 14:08:34 · 185 阅读 · 0 评论 -
chmod - change the mode of each file to mode
chmodChange 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 · 221 阅读 · 0 评论 -
ar
arcreate, modify, and extract from archives.创建或修改archive文件,或从存档文件中提取。一个archive就是一个文件,结构化的包含其他文件。用来集合许多文件,成为单一的备存文件,在备存文件中,所有的成员文件都保有原来的属性与权限。用来操作高度结构化的存档文件,该命令最常用来创建静态库,也能创建和维护符号名的交叉索引表。ar [原创 2012-06-22 17:37:40 · 197 阅读 · 0 评论 -
file - determine file type of files
filedetermine file type of FILESfile [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 · 166 阅读 · 0 评论 -
GCC
GCC(1)gcc - GNU project C and C++ compilergcc [-c|-E] [-x language][-o outfile] infile...[-c] 编译或汇编源文件,但不作连接,编译器输出对应于源文件 的目标文件 缺省情况下,后缀名为".o"。[-o outfile] 指定输出文件。[-E] 只进行预处原创 2012-06-11 14:46:42 · 177 阅读 · 0 评论
分享