-1

I'm wondering what command that I need to use on PuTTY to get this result.

  • 2
    Why those three and what have you done so far? – Mad Physicist Feb 10 '19 at 03:19
  • Possible duplicate of [List files over a specific size in current directory and all subdirectories](https://stackoverflow.com/questions/13282786/list-files-over-a-specific-size-in-current-directory-and-all-subdirectories) – Tsyvarev Feb 10 '19 at 14:14

2 Answers2

0

That can be done directly with find:

find /usr/bin -type f -size +9999999c

+ matches files larger than the given size. - is less than.

The c unit is for bytes. You can also use k for kilobytes, M for megabytes, and G for gigabytes.

jspcal
  • 50,847
  • 7
  • 72
  • 76
0

I dont know about wc and grep but you can create script that will help using below command.

ls -lh /usr/bin | awk '{print $5,$9}'

it will post your output like this: 1.4K anaconda-ks.cfg 17M book1 39M Book2 52 Book3 26M Book4

After that you can script that will help you to filter out [Statement] size with filename.