FunctionRacerProblemsRace

The Biggest File

HardBasha shell script

Print the name of the file in this folder that holds the most bytes, and after it, on a second line, the number of bytes it holds.

Example 1

a.txt
tiny
b.txt
a good deal longer than the rest
c.md
middle one
prints
b.txt
33

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Bash problems