I'm looking to find the disk space on my current working directory... and then only look for directory sizes over 1TB in size... and then take that output, and ls -l all of those specific directories to find which users own those particular directories.
My current assumption would be something like this...
sudo du -sh * | sort -n | grep T
From doing this... I would at least show me the directory sizes over 1TB in size... but then I want to take that output and put it into ls -l, so that I can find the users that are using more than 1TB.
Any help would be so helpful. Thank you!