🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1999

listar ficheros en shell script

#1999
From: chatin
Date: Sun, 29 May 2005 19:36
7 lines
1288 bytes
Hola gente!
Estoy empezando en el mundillo de los shell scripts y me surgen muchas 
dudas (aunque por ahora solo os preguntar� una ;)  )
Me gustar�a saber como podr�a saber el numero de ficheros y directorios 
de un directorio, es decir, que al final de la ejecucion me dijera: " En 
tal directorio hay "tantos" ficheros y "tantos" directorios, una ayudita??
Gracias de antemano
Technical Details
Message-ID: <dRome.42551$dr.20630@news.ono.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,814a856f893ec0e4,start
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail
From: chatin <chatin2001mixQUITAESTO@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: listar ficheros en shell script
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 7
Message-ID: <dRome.42551$dr.20630@news.ono.com>
Date: Sun, 29 May 2005 21:36:41 +0200
NNTP-Posting-Host: 84.121.5.82
X-Trace: news.ono.com 1117395401 84.121.5.82 (Sun, 29 May 2005 21:36:41 MEST)
NNTP-Posting-Date: Sun, 29 May 2005 21:36:41 MEST