Linux
Lijun_blue
这个作者很懒,什么都没留下…
展开
-
Centos 5.3下安装支持NTFS文件系统
1 查看内核版本 #uname -a #uname -r 2.到http://www.linux-ntfs.org/下载与内核版本相同的ntfs补丁,centos默认的是kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11.i686.rpm 安装rpm -ivh kernel-* 3.运行cat /proc原创 2010-05-16 08:24:00 · 846 阅读 · 1 评论 -
Linux下删除大量文件error : bash: /bin/rm: Argument list too long
在linux 下删除oracle 11g下adump目录下的审计信息文件时,因为文件数量很多,执行rm -rf的时候报错bash: /bin/rm: Argument list too long可以采用分批删除的办法 ls | xargs -n 50 rm -fr lsxargs就是将ls的输出,每50个为一组(以空格为分隔符),作为rm -rf的参数,由rm -r原创 2011-12-07 13:55:35 · 963 阅读 · 0 评论 -
drop_caches(释放内存)
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.To free pagecache:* echo 1 > /proc/sys/vm/drop_cachesTo free dentr原创 2012-03-12 11:06:13 · 1295 阅读 · 0 评论 -
VIM命令记录
在normal mode下:h:将光标向左移动一格l:将光标向右移动一格j:将光标向下移动一格k:将光标向上移动一格ctrl+b:将页面向前卷动一页ctrl+f:将页面向后卷动一页0:将光标移到该行最前面$:将光标移到该行的最后面G:将光标移到最后一行的开头ctrl+u:将光标向前移动半页ctrl+d:将光标向原创 2012-06-18 11:08:20 · 528 阅读 · 0 评论