Listing large files

I suddenly had no empty space on my Mac’s disk. This StackOverflow answerhttps://apple.stackexchange.com/a/278805/77352 had the following command, which will list all files and folders of size 1G and above.

du -sh *  | grep -E "\dG"