3 ms·
The most wizardly of the wizards I work with (FAANG, though that correlates less with shell wizardry than people might think) does a lot of his ~scripting in a
by kixiQu 7y ago
The most wizardly of the wizards I work with (FAANG, though that correlates less with shell wizardry than people might think) does a lot of his ~scripting in a Vim buffer in tmux and just enters text over one chunk at a time. This is a nice approach because a lot of the time he's starting from bare bones, and always has his basic building blocks very evident so he knows them well. But, when he needs to build up a more complicated script for review, he can clean up whatever he's got.
If you ask me, I'd say don't worry too much about memorizing stuff you don't use often (viva la man page), but it's great to have your common commands memorized rather than aliased for when you're helping someone else out or explaining how something works.
- lcall 7y agoCould you clarify what is meant by "enters text over one chunk at a time" and "basic building blocks very evident"? I use tmux & vim but ... unsure if I follow. Edit: Do you mean, personal, local notes on tasks, as the notes evolve into scripts? I also keep a lot of personal notes which I can export into a web site (similarly to putting into a wiki, in a very loose comparison, an example being my site at http://lukecall.net http://lukecall.net or the other at http://onemodel.org http://onemodel.org), using something like a big, efficient, outline of all my notes. (I would probably put it in org-vim like org-mode, or maybe taskwarrior, if I didn't have http://onemodel.org http://onemodel.org, which I hope to make much easier to install, sometime.) Thanks.
- kixiQu 7y agoLess structured than that, I think, but approximately similar; just chunks of bash commands (cloud services CLIs need these a lot) and different grep pipe chains, etc, roughly clumped into bash functions