find . -name '*c'같이 하면 현디렉토리 이하 모든 서브디렉토리를 검색하는데 오직 현재디렉토리에서만 찾으려면 어떻케 하면되는지요?
-prune 또는 -depth를 이용하면 될것같은데 잘 모르겠네요.
ls *c 로 해보죠?
find . -maxdepth 1
---http://coolengineer.com
일단, find로 해결하고 싶고요. (ls 나 기타 아닌..) maxdepth는 옵션에 없네요. 솔라리스임.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
ls *c로 해보죠?
ls *c
로 해보죠?
find . -maxdepth 1
find . -maxdepth 1
---
http://coolengineer.com
음...
일단, find로 해결하고 싶고요. (ls 나 기타 아닌..)
maxdepth는 옵션에 없네요.
솔라리스임.
댓글 달기