I want to get size of file into variable ? How to do that?
ls -l | grep testing.txt | cut -f6 -d' '
gave the size but how to store it in shell variable?
filesize=$(stat -c '%s' testing.txt)
1.4m articles
1.4m replys
5 comments
57.0k users