使用方式:cat [-AbeEnstTuv] [--help] [--version]
fileName说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案)参数:-n 或 --number 由 1
开始对所有输出的行数编号-b 或 --number-nonblank 和 ...
分类:
系统相关 时间:
2014-05-26 15:24:06
阅读次数:
440
不能再简化 1 #include 2 #include 3 4 #include 5 #include
6 #include 7 void * meng_seq_start(struct seq_file*s,loff_t*pos) 8 { 9
if(*pos>1)10 ...
分类:
系统相关 时间:
2014-05-26 15:20:31
阅读次数:
351
在shell命令终端中,Ctrl+n相当于方向向下的方向键,Ctrl+p相当于方向向上的方向键。在命令终端中通过它们或者方向键可以实现对历史命令的快速查找。这也是快速输入命令的技巧。在命令终端中可以通过Ctrl+r
实现快速检索使用过的历史命令。Ctrl+r中r是retrieve中r。Ctrl+a:...
分类:
系统相关 时间:
2014-05-26 15:13:36
阅读次数:
345
转自:http://www.linuxidc.com/Linux/2011-09/42929.htm在Linux下使用shell的时候,为方便起见,偶尔会用到一下数组。数组的申明方式是:array=(element1element2element3....elementN)也就是直接用圆括号包数组元...
分类:
系统相关 时间:
2014-05-26 15:13:14
阅读次数:
343
模块的搜索路径:When a module namedspamis imported, the
interpreter searches for a file namedspam.pyin the current directory, and then
in the list of director...
分类:
编程语言 时间:
2014-05-26 15:09:11
阅读次数:
367
说明:下面文章中黑体字是命令行的输入,斜体是命令行的输出,汉字为正文或注释。Git
是用于Linux 内核开发的版本控制工具。与常用的CVS, Subversion
等不同,它采用了分布式版本库的方式,不必服务器端软件支持,使源代码的发布和交流极其方便。 Ubuntu上可以在“system -> ....
分类:
其他好文 时间:
2014-05-26 14:51:16
阅读次数:
305
arm-linux-gcc -static -o lcd_show
lcd_show.csudo mount -o loop initrd.img XXX (XXX -- your mount directory)sudo cp
lcd_show XXX/bin/sudo umount XXXsky...
分类:
其他好文 时间:
2014-05-26 14:39:56
阅读次数:
281
To clone the master development repository, install
git, and run:git clone git://github.com/torvalds/linux.git v4l-dvb cd v4l-dvb
git remote add linux...
分类:
其他好文 时间:
2014-05-26 14:13:43
阅读次数:
338
linux iSCSI target配置全过程一:Install iSCSI target for
Linux1,操作系统:[root@rac2 ~]# cat /etc/issueEnterprise Linux Enterprise Linux AS
release 4 (October Upd...
分类:
系统相关 时间:
2014-05-26 13:40:12
阅读次数:
503
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261