Your top 10 commands - Desktop Customization & Workflow

Users browsing this thread: 1 Guest(s)
seninha
Long time nixers
After reading this post on z3bra's phlog, I got curious to see what are my top 10 commands.

Quote:Now what are YOUR top 10 commands ?
-- z3bra

On OpenBSD ksh, the history builtin only lists the last 10 commands on history, to list all commands, you need to run this:
Code:
history 1
(history arguments are [first [last]]).

So, this is the command I needed to run:
Code:
history 1 | awk '{print $2}' | sort | uniq -c | sort -rn | head -n 10

My $HISTSIZE is 1000, so my sample is not that big as z3bra's (whose $HISTORY is ten times bigger).

Here's my top 10:
  • 1. vim: I expected that.
  • 2. make: I use makefiles to build programs and documents, move my dotfiles to their proper places, etc.
  • 3. cd
  • 4. d: This is a shell function wrapper around tree(1) (actually colortree(1), a colored version of tree). Yes, I use tree(1), and not ls(1), to list the contents of a directory...
  • 5. agenda: That's a shell script that shows a calendar for the current month, the events for the week and the tasks I need to do. Very handy. For events it calls calendar(1), for the tasks it calls todo(1). Both programs are part of my orgutils. This script reads the agenda and todo files in all directories of '~/proj/' (that is, in every project of mine), adds a prefix to each event and task corresponding to the project name, and pipes them to agenda(1) and todo(1).
  • 6. git.
  • 7. man.
  • 8. xopen: That's my opener script. If I want to open a image with sxiv or a document with zathura, I just call xopen on them.
  • 9. ssh.
  • 10. fm: That's actually an alias for lf, the file manager, with some options.


Messages In This Thread
Your top 10 commands - by seninha - 14-10-2021, 11:10 PM
RE: Your top 10 commands - by z3bra - 15-10-2021, 02:26 AM
RE: Your top 10 commands - by tuxifreund - 15-10-2021, 02:52 AM
RE: Your top 10 commands - by ols - 15-10-2021, 06:36 AM
RE: Your top 10 commands - by dionys - 15-10-2021, 08:13 AM
RE: Your top 10 commands - by seninha - 15-10-2021, 08:39 AM
RE: Your top 10 commands - by freem - 15-10-2021, 01:07 PM
RE: Your top 10 commands - by humky - 19-10-2021, 07:59 PM
RE: Your top 10 commands - by venam - 20-10-2021, 05:48 AM
RE: Your top 10 commands - by z3bra - 20-10-2021, 02:39 PM
RE: Your top 10 commands - by freem - 22-10-2021, 11:52 AM
RE: Your top 10 commands - by humky - 22-10-2021, 03:42 PM
RE: Your top 10 commands - by z3bra - 25-10-2021, 05:47 AM
RE: Your top 10 commands - by humky - 25-10-2021, 10:48 AM
RE: Your top 10 commands - by VMS - 28-02-2022, 11:48 AM
RE: Your top 10 commands - by venam - 01-03-2022, 06:04 AM
RE: Your top 10 commands - by VMS - 01-03-2022, 02:50 PM
RE: Your top 10 commands - by jkl - 05-03-2022, 10:27 AM
RE: Your top 10 commands - by Hatbox - 05-03-2022, 01:08 PM