Linux命令拾遗

来源:互联网 发布:蓝光dvd 刻录数据 编辑:程序博客网 时间:2024/05/21 15:07
 Linux命令拾遗

hansel<hansel@163.com>  2005.1.24

.top        See CPU usage for each process.
.locate     Fast find file
.strace        Trace system function call
.neat        Red hat network config tools
.service    manager services in system.
.chkconfig    check services config
.ldd        print shared library dependencies
.ldconfig    configure dynamic linker run-time binkdings
.ipcs        print System V ipc information
.source        run script
.du -sh        hom much size is the folder
.df -k         disk using space
.df -l         list mounted disk
.rdev        query/set image root device, RAM disk size, or video mode
.dd        convert and copy file
.losetup    setup and control loop devices
.mke2fs        create ext2 filesystem

.diff -ruN orig new >file.patch
          create patch file
.patch -p0 <file.patch
        use patch to new directory,or " cd new; patch -p1 <../file.patch"