Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: du with backticks

by blahblahblah (Priest)
on Mar 20, 2008 at 01:35 UTC ( #675140=note: print w/ replies, xml ) Need Help??


in reply to du with backticks

The first error message, du: cannot access `~skim': No such file or directory, made me curious. I think that if you reduce your program to a very simple command you'll find that it's not running from the right directory or that ~skim doesn't exist?

my $homedir = '~bogus'; $du=`du -ch $homedir`; print "$du";
produces a similar message for me:
./test du: cannot access `~bogus': No such file or directory 0 total


Comment on Re: du with backticks
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-08-01 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls