Chinaunix首页 | 论坛 | 博客
  • 博客访问: 239240
  • 博文数量: 91
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 955
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-12 09:38
文章分类

全部博文(91)

文章存档

2017年(1)

2011年(1)

2008年(15)

2007年(74)

我的朋友

分类: LINUX

2007-08-23 17:50:58

locate
   locate patterns
   locate files whose names match one or more pattern by searching an index of files previously created.
   for example: locate csh

updatedb
    it only used by the upersuer.
    -e directories.
    for example: refresh the slocate datebase,excludeing files in temporary locations:
    #updatedb -e "/tmp,/var/tmp,/usr/tmp"
   additional options
    -netpaths='path1,path2....'
      add network paths to the search list
    -prunepaths='path1,path2....'
      eliminate paths from the search list
    -prucefs='filesystems....'
     eliminate entire types of filesystems,such as NFS.
    the variables are netpaths, prunepaths, and prunefs.these variables and the options to updatedb are discussed here because this objective makes specific mention of updatedb.conf

whatis
 syntax whatis keywords
  search the whatis database for exact matches to keywords and display results.
  example: whatis mksw
  
apropos
  syntax: apropos keywords
  search the whatis database for partical word matches to keywords and display results
  apropos mksw

阅读(452) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~