Consider the below code:
my ($location) = @_; print "\n".'Calculating Scan Statistics...'."\n"; my $size =0; $size= `du -x -sk @_`; print "$size";
when i enter the value for @_ through the terminal it shows the same size for / , /home , /root. How can i get the size for diffrent folders and the main / also?
In reply to Unix size by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |