There was a time I used to analyse the results of an ‘ls’ command to extract the size of a file.
Here is a better way, using the stat command -
stat --format "%s" my_filename_here
There was a time I used to analyse the results of an ‘ls’ command to extract the size of a file.
Here is a better way, using the stat command -
stat --format "%s" my_filename_here