Hai
how to find size of a file??
ex : /home/kiran/pdk/sample/calibre this is a path
In that I have to find size of a files in side a calibre(it is the folder) like .results or .summary
Hai
how to find size of a file??
ex : /home/kiran/pdk/sample/calibre this is a path
In that I have to find size of a files in side a calibre(it is the folder) like .results or .summary
Last login: Wed Aug 28 13:27:05 on ttys000
AMIGA:barrywalker~> cd /
AMIGA:barrywalker/> wc -c /Users/barrywalker/.bash_profile
26 /Users/barrywalker/.bash_profile
AMIGA:barrywalker/> _
EDIT:
Oh bother...
Just noticed it is perl you wanted:-
#!/usr/bin/perl -w
exec "wc -c /Users/barrywalker/.bash_profile"
Results on screen using a Macbook Pro...
Last login: Wed Aug 28 15:00:19 on ttys000
AMIGA:barrywalker~> perl exec_me.pl
26 /Users/barrywalker/.bash_profile
AMIGA:barrywalker~> _
This assumes that everyone has read access to the hidden file...