Here is a cool one line Perl script you can use to quickly obtain the file size of a file. The syntax to run the script is “perl [scriptname] [filename]”; in the below example I use the script itself as the file.
Output:
Here is a cool one line Perl script you can use to quickly obtain the file size of a file. The syntax to run the script is “perl [scriptname] [filename]”; in the below example I use the script itself as the file.
Output: