More Sorting: Finding the Largest File and the Process using the Most Memory


To find the largest file in your harddrive use this command: ls -l | sort +4n

2007-12-11-044357_1280x800_scrot

To find process using the most memory use this command: ps -aux | sort +4n

2007-12-11-044739_1280x800_scrot

They both works like a charm.



Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.