Skip to content

Instantly share code, notes, and snippets.

@liuyix
Created September 2, 2013 02:27
Show Gist options
  • Select an option

  • Save liuyix/6408739 to your computer and use it in GitHub Desktop.

Select an option

Save liuyix/6408739 to your computer and use it in GitHub Desktop.
shell script print file size
#credit:http://www.cyberciti.biz/faq/bash-csh-sh-check-and-file-file-size/
stat -c %s $file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment