Simplify Terminal directory listings

05.06.2009

etc...

Now there's only a bit of added information at the front--the permissions on the file, and the number of hard links (ln) to that file. If you'd rather not see those columns, you can send the output of ls to the cut command, which can trim columns from the output prior to display. In this case, the file size information starts at the 20th character, so the command (and its output) look like this:

$ ls -hog | cut -c 20-

442B Jun 5 09:34 Desktop

1.9K Jun 5 09:28 Documents