Lurker News
I really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.

Comments (385) 158 threads

Earlier comments
bwoodward3 replies#
I use the following (in no particular order) -- definitely nothing fancy.

* weechat
* ffmpeg
* youtube-dl
* zsh
* watchman (https://facebook.github.io/watchman)
* megadl (rarely, but its a handy tool when you need it)
* brew (on my mac)
* mountsshfs (on my mac)
---
I moved away from orgmode and have been using it in VS since I have it open anyway. It covers me.
I also want to start using Mutt or something similar.
For those wondering, you can output an unnecessarily pretty list using:

    history | tr -s ' ' | cut -d ' ' -f3 | sort | uniq -c | sort -n | tail | perl -lane 'print $F[1], "\t", $F[0], " ", "" x ($F[0] / 12)'
tummybug1 reply#
This doesn't look to take commands after a pipe into account so IMHO doesn't accurately reflect command usage. For example running above I was surprised awk wasn't in the list but when I went to investigate I found I almost always am piping something to awk.
yesenadam#
Hmm yeah. And often I type multiple commands separated by semicolons, which it bunches together as one. Also that and long paths meant mine was very unpretty. Speaking of AWK, this uses the same flawed method, looks nicer (for my history), and is shorter:

  history | awk '{a[$2]++} END{for (i in a) print a[i]"\t"i}' | sort -n | tail
xte1 reply#
Just for curiosity: you have moved away from Emacs org-mode? If yes may I ask why?

I'm using Emacs since few times and it's now even my WM and org-mode is it's companion for nearly all docs/docs related stuff I use, never found anything even near comfortable and powerful as that combo...

stevewillows1 reply#
yeah, I've never been a big emacs user outside of org-mode, so it was silly for me to be using it for one feature.

The VS one covers the basics and has treated me well. For more advanced org-mode folks, I don't think the VS org-mode would be enough.

xte1 reply#
Thanks, just curious because you are the first I here that have used Emacs and decide for something else.

For org-mode outside Emacs I do not know VSc but I've used in the past Vim port and agree: outside Emacs org-mode support is simply too limited to be considered...

Continue this thread — 1 reply

pxc#
This is an abbreviated list of my command-line applications, taken from the Nixpkgs overlay I use for configuring macOS, NixOS, and non-NixOS Linux:

  pxc.common.tui.pkgs = with self.pkgs; [
    # cli basics
    htop                # top, but nicer
    httpie              # curl, but much nicer except for lacking a man-page (--help is very complete)
    ranger              # file manager
    ripgrep             # my favorite grep alternative/replacement
    tree                # prints directory trees

    # stuff my fish config uses and some goodies I want
    fish                # very nice shell, replaces bash
    grc                 # GNU regular colorizer: uses regular expressions to colorize the terminal
    tmux                # terminal multiplexer (tiling window manager for the terminal)
    byobu               # some tmux config that makes things a little nicer. Great for new tmux users, hardly used anymore
    fzf                 # fuzzy filtering: used for changing directories, selecting files to open, browsing shell history
    fasd                # frecency tools: jump to directories, open files, etc., based on fuzzy matches sorted by frecency
    keychain            # simplified SSH and GPG key loading/management
    direnv              # barebones projects, pretty nifty
    gitAndTools.hub     # GitHub CLI extensions for Git
    gitAndTools.tig     # curses TUI for browsing git logs

    # makes tmux pretty with `powerline-config tmux setup`
    pythonPackages.powerline
    findutils           # macOS comes with weak find command
    gawk                # macOS comes with ancient gawk, tmux-fingers wants a newer one

    pass                # GPG+git-based CLI password manager
    pwgen               # for use with pass

    p7zip               # archiving tool that can do pretty much everything

    # chat
    weechat             # nice terminal-based IRC app

    ### extras-ish ###
    mediainfo           # tell me things about multimedia files
    asciinema           # record TTY/terminal sessions (with audio) as moving text for the browser
    cowsay
    graphicsmagick      # image manipulation. lots of fun for quickly uploading custom emoji to Slack
  ];
jyounker1 reply#
Ncdu is really useful for identifying space hogs.
mav3rick#
+1. Really really handy.
tyingq#
Not as nice as ncdu, but if you have to work with what's already installed:

du -k --max-depth=2 * | sort -rn | head
Ymmv, but playing around with max-depth is usually enough to find the culprit for me.

milkmiruku#
recently created an alias;

ncdu='ncdu --color dark -q'
-q for quiet, slows updating the ncurses interface down for a quicker scan.
also; -1 for scan info pre ncurses display and -0 for no scan info.

catacombs1 reply#
Another alternative to Emacs with vim keybindings is Doom Emacs. It's superior to Spacemacs imo.
suprfnk1 reply#
I've been using Spacemacs for a while, what sets Doom Emacs apart?
colelyman2 replies#
I am a convert from Spacemacs to Doom, and I have found that one of the main differences that sets Doom apart is easier configurability than Spacemacs. In Doom, there is still the concept of "layers," but IMO it is much easier to figure out what the layers are doing and customize them from there.

Also, I have found Doom to be much quicker (takes about 2 seconds to load, not using server/client) and less buggy than Spacemacs. I would highly recommend giving Doom a try!

Continue this thread — 2 replies

dewey#
Beets is really great, before switching mainly to streaming I used it every day to tag new additions to my library.

Load more comments