Every now and then an unusual question pops up – like, how do you find the biggest file on your BSD machine.
Easy. Use find to dump all file names, one line per file, in ls -ls style – that’s what the -ls option does. Then pipe that to sort, and have it do a numerical sort on the 6th field.
Why did I want to do this, you might ask? well, to find the biggest file to FTP over to my desktop machine. To test the new wireless network version of the DEUNA based on ESP32C3. Yes, it works. More soon.