Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 rifling through the Monastery: (9)
As of 2017-04-25 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (463 votes). Check out past polls.