So my disk is full, I am trying to grep for all the files larger than 1G. I tried searching for the word Sort in the man page of DU, but found nothing.
du -h . | grep -E "^\d*\.\d*G"
and also this.
du -h . | grep -E "^\d*?\.\d*?G"
I tried both of these command, but it is missing all the 1Gb files. My Regex-Fu is a bit rusty these days, so I figured I might just ask in stack-exchange.