bluedragon2
IS-IT--Management
I run the command in UNIX:
ls -l filename | awk '{print $5}'
and get the file size returned.
I run this in perl:
$size = `ls -l filename | awk '{print $5}'`;
and get all the information about the file in the variable (ie $size equals -rwx------ 1 owner group 12300 /filename)
Does antone know why that is happening?
Thanks
Blue![[dragon] [dragon] [dragon]](/data/assets/smilies/dragon.gif)
If I wasn't Blue, I would just be a Dragon...
ls -l filename | awk '{print $5}'
and get the file size returned.
I run this in perl:
$size = `ls -l filename | awk '{print $5}'`;
and get all the information about the file in the variable (ie $size equals -rwx------ 1 owner group 12300 /filename)
Does antone know why that is happening?
Thanks
Blue
![[dragon] [dragon] [dragon]](/data/assets/smilies/dragon.gif)
If I wasn't Blue, I would just be a Dragon...