TITLE: Commands I Use
AUTHOR: Eugene Wallingford
DATE: February 20, 2023 10:18 AM
DESC:
-----
BODY:
Catching up on articles in my newsreader and ran across
Commands I Use
by
@gvwilson.
That sounded like fun, and I was game:
$ history | awk '{print $2}' | sort | uniq -c | sort -nr > commands.txt
The first four items on my list are essentially the same as Wilson's,
and there are a lot of other similarities, too. I don't think this
is surprising, given how Unix works and how much sense git makes for
software developers to use.
- git
- same caveat as Wilson.
Next time, I may look at field and flesh this out.
- ll
- my shorthand for ls -al
- emacs
- less of a cheat for me. I mostly edit
in emacs.
- cd
- mv
- rmbak
- my shorthand for rm *~,
a form of Wilson's clean
- cpsync
- my shorthand for copying a file to a folder
for syncing to my office machine
- popd
- pushd
- I pushd and popd a lot...
- open
- dirs
- ... which means occasionally checking the stack
- mvsync
- similar to cpsync but also moves
the file (often from the desktop to its permanent home)
- tgz
- a 5-line script that bundles the sync folder
used by cpsync and mvsync
- cp
- cls
- pwd
- close-journal.py
- a substantial Python script;
part of my homegrown family accounting system
- rm
- aliased to ask for confirmation before deleting
- cat
- /bin/rm
- the built-in command nukes a file with no shame
- more
- xattr
- python3
- same caveat as Wilson
- gzt
- an unbundling script
- mkdir
- gooffice
- my shorthand for sshing
into my office machine
It's interesting to see that I use rm and /bin/rm
in roughly even measure. I would have guessed that I used the guarded
command in higher proportion.
At the bottom of the tally are a few items I don't use often, or
don't generally launch from the command line:
- touch
- racket
- npm
- idle3
- chmod
... and a bunch of typos, including:
- pops
- ce
- nv
- nl
- mdir
- emaxs, emavs, emacd,
That was fun! Thanks to Greg for the prompt.
-----