I am using Putty with bash-4.2. Therein, I am outputting file size with:
du -m myfile.csv
which returns:
1.25 myfile.csv
How do i store this line in a variable so I can later parse out the filesize?
Thanks in advance
I am using Putty with bash-4.2. Therein, I am outputting file size with:
du -m myfile.csv
which returns:
1.25 myfile.csv
How do i store this line in a variable so I can later parse out the filesize?
Thanks in advance
Copyright © 2021 Jogjafile Inc.
Like so
Output