[plug] directory listing
Alex Nordstrom
lx at se.linux.org
Mon Apr 10 14:03:07 WST 2006
Monday, 10 April 2006 13:55, Jonathan Young wrote:
> On 4/10/2006, "Alex Nordstrom" <lx at se.linux.org> wrote:
> >ls -d /shared/*/
> >
> >ls -l | grep ^d
> >
>
> Both very useful. How do you get a list of files sizes as well?
>
> I.e., if I start in /etc and type ls -l I get lots of useful
> information and can see the size of certain files. If I want to know
> how much space required to backup /etc/* including sub-directories,
> how do I get the bottom line figures?
For that you would have to use du. See man 1 du
--
Alex Nordstrom
http://lx.n3.net/
Please do not CC me in followups; I am subscribed to plug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20060410/94a090a2/attachment.pgp>
More information about the plug
mailing list