Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you have it backwards: there are two legitimate counterarguments.

One is that 'ls' is the common program for querying the directory data structure (which in original Unix was just a kind of file). So it makes sense for it to output the data in different kinds of ways.

The second is that its a user mode command. It's easier than having a lot of little commands (ls for all files, basically ls -1; lsF for showing file types, etc). In fact I'll often to 'ls' then realise I want more info so will type 'ls -l' (say) which is really my brain saying "oh yea, just like what I just asked for but more info".

Better to pick something more deranged like tar or cpio!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: