Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Sunday, December 2, 2012

Find Out File Size Using Shell Script | Shell Programming



Write shell script to to know whether the size of the file provided is greater than zero or zero and print size of file.

Find Out File Size Using Shell Script | Shell Programming


This is small script to finding out provided filename size whether it exist or not and if it then findout its size in Byte and print its size using stat -c%s $filename command.