Re: what command to show number of folders
- From: Logan Shaw <lshaw-usenet@xxxxxxxxxxxxx>
- Date: Tue, 24 Jan 2006 16:11:02 GMT
Stephane Chazelas wrote:
On Tue, 24 Jan 2006 15:45:02 +0000, Tony wrote:Hi !
Can anyone tell me what command line syntax I would type to find out how many directories are in my system.
As a super user:
find /// -type d -print | grep -c ///
That is a unique solution, especially compared to:
find / -type d -print | wc -l
Or, if you must use grep:
find / -type d -print | grep -c .
- Logan .
- Follow-Ups:
- Re: what command to show number of folders
- From: Stephane CHAZELAS
- Re: what command to show number of folders
- References:
- what command to show number of folders
- From: Tony
- Re: what command to show number of folders
- From: Stephane Chazelas
- what command to show number of folders
- Prev by Date: Re: what command to show number of folders
- Next by Date: Re: what command to show number of folders
- Previous by thread: Re: what command to show number of folders
- Next by thread: Re: what command to show number of folders
- Index(es):