ls:列出目录内容(文件)。 cp:复制文件。 mv:重命名(移动)文件。 rm:删除文件。 ln:创建文件链接。 ls命令 ls [options] [files] ls命令列出文件与目录的属性。不加任何参数时,它直接列出当前目录下的内...
分类:
系统相关 时间:
2015-01-01 12:33:46
阅读次数:
211
下载源码包解压缩指定目录安装2.安装zlib-devel######否则安装setuptools的时候会报错yum-yinstallzlib-develsqlite-devel#django开发时用./configure--prefix=/export/servers/pythonmake&&makeinstall3.ln-s/export/servers/python/bin/python/usr/local/sbin/python..
分类:
编程语言 时间:
2014-12-30 19:18:10
阅读次数:
683
open RH, $ARGV[0]; %dict = (); while(<RH>){ ?chomp; ?$ln = $_; ?if($dict{$ln}){ ??$dict{$ln} ++; ?}else{ ??$dict{$ln} = 1; ?} ? } while(($k,$v) = each %dict){ ?print $k ."\t" . $v. "\n"...
分类:
其他好文 时间:
2014-12-30 13:43:01
阅读次数:
166
1. 计算 $$\bex \lim_{x\to 0^+}\dfrac{\int_0^x e^{-t^2}\rd t-x}{\sin x-x}. \eex$$2. 讨论广义积分 $\dps{\int_1^\infty \sez{\ln \sex{1+\dfrac{1}{x}}-\sin \dfrac{...
分类:
其他好文 时间:
2014-12-30 09:17:27
阅读次数:
132
1.创建:ln[-s]sourcetarget,有-s时为软连接,否则为硬连接;2.软连接有独立的InodeIndex,硬连接与源文件共享InodeIndex;3.硬连接只能指向文件,不能指向目录,而软连接均可指向;4.当文件仅有软连接时,删除软连接对源文件无影响,但删除源文件时软连接将不可用。当文件仅有硬连..
分类:
系统相关 时间:
2014-12-30 01:54:25
阅读次数:
169
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorder it to ...
分类:
其他好文 时间:
2014-12-29 21:34:09
阅读次数:
242
这两天,使用ipvsadm -ln总是显示空。后来,使用strace ipvsadm -ln定位看来,是ipvsadm模块有问题,卸载了再重新安装吧,结果出现这种问题。从来没遇到这种问题:error: %preun(ipvsadm-1.24-6.x86_64) scriptlet failed, e...
分类:
其他好文 时间:
2014-12-25 17:39:58
阅读次数:
128
原文网址:http://www.cnblogs.com/peida/archive/2012/12/11/2812294.htmlln是linux中又一个非常重要命令,它的功能是为某一个文件在另外一个位置建立一个同步的链接.当我们需要在不同的目录,用到相同的文件时,我们不需要在每一个需要的目录下都放...
分类:
系统相关 时间:
2014-12-25 00:11:23
阅读次数:
339
一、安装mysql-5.6.21(通用二进制)useradd-rmysqlmkdir-p/data/mysqlchown-Rmysql.mysql/data/mysqltarxvzfzabbix-2.4.2.tar.gz-C/usr/local/ln-smysql-5.6.21-linux-glibc2.5-x86_64/mysqlcdmysqlchown-Rroot.mysql./*scripts/mysql_install_db--user=mysql--datadir=/data/my..
分类:
其他好文 时间:
2014-12-23 06:52:23
阅读次数:
362
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorder it to ...
分类:
其他好文 时间:
2014-12-19 17:29:23
阅读次数:
232