알려고 하는 디렉토리내에서 다음과 같이 쓰시면됩니다.
[root@localhost home]# ls -l | grep ^d | awk '{print $9}'|wc -l
만일 파일의 갯수만 알고 싶다면
[root@localhost home]# ls -l | grep ^- | awk '{print $9}'|wc -l
[root@localhost home]# ls -l | grep ^d | awk '{print $9}'|wc -l
만일 파일의 갯수만 알고 싶다면
[root@localhost home]# ls -l | grep ^- | awk '{print $9}'|wc -l
[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5152 |
senseme
|
12년 전 | 4163 | |
| 5151 |
senseme
|
12년 전 | 3737 | |
| 5150 |
프로프리랜서
|
12년 전 | 3132 | |
| 5149 |
프로프리랜서
|
12년 전 | 3970 | |
| 5148 |
프로프리랜서
|
12년 전 | 4354 | |
| 5147 |
프로프리랜서
|
12년 전 | 1585 | |
| 5146 |
senseme
|
12년 전 | 2715 | |
| 5145 |
senseme
|
12년 전 | 2715 | |
| 5144 |
senseme
|
12년 전 | 1255 | |
| 5143 | 12년 전 | 1291 | ||
| 5142 | 12년 전 | 8417 | ||
| 5141 |
senseme
|
12년 전 | 1512 | |
| 5140 |
senseme
|
12년 전 | 3746 | |
| 5139 |
senseme
|
12년 전 | 6331 | |
| 5138 |
senseme
|
12년 전 | 1551 | |
| 5137 | 12년 전 | 1145 | ||
| 5136 |
senseme
|
12년 전 | 1322 | |
| 5135 |
senseme
|
12년 전 | 3305 | |
| 5134 |
senseme
|
12년 전 | 1079 | |
| 5133 |
senseme
|
12년 전 | 1823 | |
| 5132 |
senseme
|
12년 전 | 1257 | |
| 5131 |
senseme
|
12년 전 | 910 | |
| 5130 | 12년 전 | 1402 | ||
| 5129 | 12년 전 | 2114 | ||
| 5128 |
senseme
|
12년 전 | 1388 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기