by iamtherockstar · 13y ago · 0 comments
The popular Unix mantra is "do one thing and do it well" - both these commands, while definitely connected, are each "one thing" and they both perform them very well.
Just an example. People may say something offer three features, one plus one and plus one, just like Unix does. But if we are going to explain 99, it is faster to say 100 minus 1 rather than 90 plus 9.
`cd $1 && ls` is a larger command. It's also an easier one.