by makecheck · 17y ago · 0 comments
I am someone who practices the Unix philosophy on a regular basis, and cringes when I see how twisted and inelegant Windows has become (even on the programming side). I consider this book a must-read for people who know only Windows. It is also an interesting book for those who know Unix already.
I'm sure those ideas had been floating around in the community for a long while but was written down more formally in those books.
Compare finding processes starting within the last hour on Unix and Windows:
ps | grep 'regex representing the current amount of columns output by ps where start time is less than 2 hours'
Windows (ps is an alias for get-process): ps | where COLUMN <= value
The latter is much more robust. As Powershell gets more cmdlets it's going to become increasingly useful. That said, I prefer Unix for other reasons.I kind of hope most Unix variants follow the /proc filesystem model of Linux. It basically cleans up these kinds of queries considerably.