Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Unix size again

by pvaldes (Chaplain)
on Feb 08, 2012 at 12:26 UTC ( #952478=note: print w/replies, xml ) Need Help??


in reply to Unix size again
in thread Unix size

opendir(my $fo, $ARGV[0]); chdir $fo; print `du -sk`; closedir $fo; __END__ usage: perl script.pl /home/pandabeer perl script.pl /etc

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952478]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-02-25 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.