WHEREIS

Section: User Commands (1)
Updated: 8 May 1994
Index
Return to Main Contents
 

À̸§

whereis - ¸í·ÉÀÇ ½ÇÇà ÆÄÀÏ, ¼Ò½º, ¸Å´º¾ó ÆäÀÌÁö°¡ ¾îµð ÀÖ´ÂÁö º¸¿©ÁØ´Ù.  

»ç¿ë¹ý

whereis [ -bmsu ] [ -BMS °æ·Î... -f ] ÆÄÀÏÀ̸§ ...  

¼³¸í

whereis ¸í·ÉÀº ÁöÁ¤ÇÑ ÆÄÀÏÀ̸§ÀÇ ½ÇÇàÆÄÀÏ, ¼Ò½º, ¸Å´º¾ó ÆäÀÌÁö°¡ ¾îµð ÀÖ´ÂÁö ¾Ë·ÁÁØ´Ù. ÁöÁ¤ÇÒ ÆÄÀÏÀ̸§¿¡´Â È®ÀåÀÚ°¡ »ç¿ëµÉ ¼ö ÀÖ´Ù. À̶§, `.c', `.1' ÀÌ·± ¼Ò½º ÆÄÀÏ°ú ¸Å´º¾ó ÆäÀÌÁö È®ÀåÀÚ°¡ »ç¿ëµÉ ¼ö Àִµ¥, ÀÌ·¯¸é Ưº°È÷ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ±× ½ÇÇàÆÄÀϱîÁöµµ ã¾ÆÁØ´Ù. À̶§ whereis ¸í·ÉÀº µû·Î Ưº°È÷ ãÀ» °æ·Î¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é, ´ÙÀ½ °æ·Î¸¦ ¹ÙÅÁÀ¸·Î ã´Â´Ù:
/bin
/usr/bin
/etc
/usr/etc
/sbin
/usr/sbin
/usr/games
/usr/games/bin
/usr/emacs/etc
/usr/lib/emacs/19.22/etc
/usr/lib/emacs/19.23/etc
/usr/lib/emacs/19.24/etc
/usr/lib/emacs/19.25/etc
/usr/lib/emacs/19.26/etc
/usr/lib/emacs/19.27/etc
/usr/lib/emacs/19.28/etc
/usr/lib/emacs/19.29/etc
/usr/lib/emacs/19.30/etc
/usr/TeX/bin
/usr/tex/bin
/usr/interviews/bin/LINUX
/usr/bin/X11
/usr/X11/bin
/usr/X11R5/bin
/usr/X11R6/bin
/usr/X386/bin
/usr/local/bin
/usr/local/etc
/usr/local/sbin
/usr/local/games
/usr/local/games/bin
/usr/local/emacs/etc
/usr/local/TeX/bin
/usr/local/tex/bin
/usr/local/bin/X11

/usr/contrib",
/usr/hosts",
/usr/include",

/usr/g++-include",
 

¿É¼Ç

-b
½ÇÇà ÆÄÀϸ¸ ã´Â´Ù.
-m
¸Å´º¾ó ÆäÀÌÁö¸¸ ã´Â´Ù.
-s
¼Ò½º¸¸ ã´Â´Ù.
-u
ÀϹÝÀûÀÌÁö ¾ÊÀº Ç׸ñÀ» À§ÇÑ Ã£±â. ÀÌ ¿É¼ÇÀº ÀϹÝÀûÀ¸·Î ƯÁ¤ ÆÄÀÏÀ» Á¦¿ÜÇϴµ¥ »ç¿ëµÈ´Ù. Áï, `whereis  -m  -u  *' ¸í·ÉÀº ÇöÀç °æ·Î¿¡¼­ ¸Þ´º¾ó ÆäÀÌÁö°¡ ¾ø´Â ÆÄÀÏÀ» Á¶»çÇÑ´Ù.
-B
½ÇÇà ÆÄÀÏÀ» ãÀ» °æ·Î¸¦ ÁöÁ¤ÇÑ´Ù.
-M
¸Å´º¾ó ÆäÀÌÁö¸¦ ãÀ» °æ·Î¸¦ ÁöÁ¤ÇÑ´Ù.
-S
¼Ò½º ÆÄÀÏÀ» ãÀ» °æ·Î¸¦ ÁöÁ¤ÇÑ´Ù.
-f
°æ·Î ÁöÁ¤ÀÌ ³¡³ª°í ´ÙÀ½¿¡ ¿À´Â °ÍÀº ãÀ» ÆÄÀÏ À̸§À» ¾Ë¸®´Â ¿É¼ÇÀÌ´Ù. ÀÌ ¿É¼ÇÀº -B, -M, -S ¿É¼ÇµéÀÌ »ç¿ëµÉ ¶§¿¡ »ç¿ëÇØ¾ß ÇÑ´Ù.
 

¿¹Á¦

/usr/bin °æ·Î ¾È¿¡ ÀÖÁö¸¸, /usr/man/man1 °æ·Î ¾È¿¡ ±× ÇØ´ç ¸Å´º¾óÀÌ ¾ø°í, /usr/src °æ·Î ¾È¿¡ ±× ÇØ´ç ¼Ò½º°¡ ¾ø´Â ¸ðµç ÆÄÀÏÀ» ã´Â ¿¹Á¦´Â:
example% cd /usr/bin
example% whereis -u -M /usr/man/man1 -S /usr/src -f *
 

°ü·Ã ÆÄÀÏ

/{bin,sbin,etc}
/usr/{lib,bin,old,new,local,games,include,etc,src,man,sbin,
X386,TeX,g++-include}
/usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,
emacs}
 

 

°ü·Ã Ç׸ñ

chdir(2)  

¹ú·¹

º¸´Ù ºü¸£°Ô ½ÇÇàÇϱâ À§ÇØ whereis°¡ chdir (2)À» »ç¿ëÇÒ ¶§, -M, -S, -B ¿É¼ÇÀÇ ÀÎÀÚ·Î ÁöÁ¤ÇÏ´Â °æ·Î´Â Àý´ë °æ·Î¿©¾ßÇÑ´Ù. Áï, ±× °æ·Î´Â ¹Ýµå½Ã ` / '·Î ½ÃÀÛÇؾßÇÑ´Ù.


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¿É¼Ç
¿¹Á¦
°ü·Ã ÆÄÀÏ
°ü·Ã Ç׸ñ
¹ú·¹

This document was created by man2html, using the manual pages.
Time: 08:06:56 GMT, March 25, 2004