locate, slocate »ç¿ë¿¹ |
±Û ¾´ ÀÌ |
linux |
³¯ Â¥ |
2004³â 04¿ù 11ÀÏ 23½Ã 23ºÐ 38ÃÊ |
º» ¹® |
»ç¿ë¿¹ #1
ÇöÀç ½Ã½ºÅÛ¿¡ Á¸ÀçÇÏ´Â *.bak¿¡ ÇØ´çÇÏ´Â ÆÄÀÏÀ» ãÀº ¿¹ÀÔ´Ï´Ù.
*.bakÆÄÀÏÀ» ã¾Æ¼ ºÒÇÊ¿äÇÑ ÆÄÀÏÀ» »èÁ¦ÇÏ°íÀÚ ÇÒ¶§¿¡ »ç¿ëÇÑ ¿¹ÀÔ´Ï´Ù.
[root@host3 root]# locate *.bak
/var/lib/nfs/statd/sm.bak
/root/.mozilla/default/zlm8ufid.slt/prefs.bak
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Filter/cpp.pm.bak
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Filter/exec.pm.bak
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Filter/sh.pm.bak
/usr/local/lib/php.ini-zend_optimizer.bak
[root@host3 root]#
»ç¿ë¿¹ #2
´ÙÀ½Àº 10°³ÀÇ *.confÆÄÀϸ¸À» ãÀº ¿¹ÀÔ´Ï´Ù.
½ÇÁ¦·Î ½Ã½ºÅÛ¿¡´Â *.confÆÄÀÏÀÌ ¼ö¾øÀÌ ¸¹ÀÌ Á¸ÀçÇϹǷΠÇÑ ÆäÀÌÁö¿¡ ¸ðµÎ º¼ ¼ö°¡ ¾ø´Â ±î´ßÀ¸·Î °¹¼ö¸¦ ÁöÁ¤ÇÑ °ÍÀÔ´Ï´Ù.
[root@host3 root]# locate -n 10 *.conf
/boot/grub/grub.conf
/var/ftp/etc/ld.so.conf
/etc/X11/gdm/factory-gdm.conf
/etc/X11/gdm/gdm.conf
/etc/modules.conf
/etc/host.conf
/etc/nsswitch.conf
/etc/ld.so.conf
/etc/fonts/fonts.conf
/etc/esd.conf
[root@host3 root]#
|
|
|
|