Here is a shell script that I named ls_awk.sh and it accepts optional wildcards that gets passed to the ls command; it is similar to what AvayaTier3 posted, but it also internally prints out a grand total line, with the grand total also listed in GB. Saves some time avoiding having to grab the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.