What shell does mac use7/11/2023 ![]() ![]() Typos, and the people who love themĪnother way that using shell aliases improves my life is by saving me from typos. While I could be less lazy and actually memorize it, well, that's just not the Unix way. ![]() Unfortunately, I have never been able to remember this incantation, so I made a shell alias, creatively called bigdirs: alias bigdirs='du -max-depth=1 2> /dev/null | sort -n -r | head -n20' One way that I improve my life is by adding aliases.Ī common scenario for anyone who works with systems is finding out what's taking up all of the disk. ![]() So, every so often I decide that I'm tired of looking up how to do something again. which for-loop structure does this language use?") The practical consequence is that I've had to re-learn many things several times over the years. Likewise, I hate memorizing things, and throughout my career, I have had to do radical context shifting during the course of a day. It's not that shell can't do what I need most of the time, but I find that if I'm writing shell, I'm probably slapping together a duct-tape solution rather than permanently solving the problem. I've written embarrassing amounts of shell, and I've come to the conclusion that I really don't want to write more.
0 Comments
Leave a Reply. |