
Thursday, June 15th, 2006
由 徐永久 发表于 2006年06月15日 20:26。
删除 core 文件
# find ~ -name core -exec file {} \; -exec rm -i {} \;
查看使用文件的进程
# fuser -u /usr/my_application/foo
搜索字符串
#grep “hello world” `find ./ -name “*” -print -exec file {} \; |grep text | cut -d ‘:’ -f 1`
目录
#alias dir=’ls -Lla|grep ^d’
Read the rest of this entry »

No Comments
Posted by albertxu in Linux, defaultcat 

Wednesday, June 14th, 2006
由 徐永久 发表于 2006年06月14日 15:17。
Pear 是 PHP 的类库集合,用 tarbal 安装 php 后不一定安装 pear ,这里介绍一个简单快速的办法安装 pear。
lynx -source http://pear.php.net/go-pear | php -q
安装完毕后用 pear -V 命令显示:
PEAR Version: 1.4.9
PHP Version: 4.4.2
Zend Engine Version: 1.3.0
Running on: SunOS hostname 5.10 Generic i86pc
用
pear install –alldeps channel://pear.php.net/Image_Graph-0.7.2
这样的格式可以安装所需要的包了。

No Comments
Posted by albertxu in PHP, defaultcat 

Wednesday, June 14th, 2006
由 徐永久 发表于 2006年06月14日 15:17。
Pear 是 PHP 的类库集合,用 tarbal 安装 php 后不一定安装 pear ,这里介绍一个简单快速的办法安装 pear。
lynx -source http://pear.php.net/go-pear | php -q
安装完毕后用 pear -V 命令显示:
PEAR Version: 1.4.9
PHP Version: 4.4.2
Zend Engine Version: 1.3.0
Running on: SunOS hostname 5.10 Generic i86pc
用
pear install –alldeps channel://pear.php.net/Image_Graph-0.7.2
这样的格式可以安装所需要的包了。

No Comments
Posted by albertxu in PHP, defaultcat 