Here is what I have in my shell file:
FILENAME=/var/lib/backups/html-backup/backup-15-04-2016.tar.gz;
FILESIZE= $(ls -lah $FILENAME | awk '{ $FILESIZEINGB = $5}')
echo "Size is $FILESIZEINGB ."
Can you please tell me why I can not see the file size in readable form ?
It seems $FILESIZEINGB is not set and I can not see the result in the echo
output.