Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

261–270 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#262
post #195

Just about every Rust cli app written by sharkdp: https://github.com/sharkdp/fd https://github.com/sharkdp/bat https://github.com/sharkdp/diskus https://github.com/sharkdp/hyperfine For viewing csv's as tabular, paged data from the terminal, check out VisiData (python) https://github.com/saulpw/visidata

CLI utilities from jarun for daily use:

    File manager: https://github.com/jarun/nnn
    Google search: https://github.com/jarun/googler
    DuckDuckGo search: https://github.com/jarun/ddgr
    Bookmark manager: https://github.com/jarun/Buku
    Multicore resize & rotate: https://github.com/jarun/imgp
    Calculator: https://github.com/jarun/bcal
    Date diff and timers: https://github.com/jarun/pdd
    Kernel keylogger: https://github.com/jarun/keysniffer
The developer (https://github.com/jarun) writes cmdline utilities only. His tools are highly optimized for performance and integrates seamlessly with the DE. Most of them are available on popular distros and Homebrew.

Re: Ask HN: Best Command-Line Applications?

#263

youtube_dl an ffmpeg would be my top two in terms of power. Here are my top commands by frequency of use: 4421 git 952 open 936 vim 908 cd 603 ls 566 grep 533 cp 429 rm 414 mv 250 atom 247 pip 233 mkdir 223 fab 163 docker 130 touch 128 find 123 youtube-dl 113 python 103 ssh 100 cat 99 wget 81 pytest 75 brew total is of ~16k history lines... this means one in ever 4 commands I type is git! Wow I didn't know that. Prob…

gitsh - https://github.com/thoughtbot/gitsh

Since git is by far the command a lot of people type the most, this shell comes in really handy. It supports all regular git aliases, has autocompletion, and you can set default commands to be run when you just press return. It's amazing how much typing it saves.

Re: Ask HN: Best Command-Line Applications?

#264
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
  ];

Re: Ask HN: Best Command-Line Applications?

#266
gitsh - https://github.com/thoughtbot/gitsh

Since git is by far the command a lot of people type the most, this shell comes in really handy. It supports all regular git aliases, has autocompletion, super useful for setting temporary names when pair programming, and you can set default commands to be run when you just press return.

Re: Ask HN: Best Command-Line Applications?

#270

Earlier quoted context omitted.

have you tried https://github.com/oh-my-fish/oh-my-fish ? has been serving me well for years

It's mainly the bash compatibility - does Oh My Fish fix that problem?

There are a few plugins you can use with oh-my-fish and similar tools, for example `fish-foreign-env`, which provide a command (`fenv`, in this case) which runs a given command in bash and then transfers environment variable changes to the fish environment from which it was called.

It's not bash compatibility, but it is good enough for one-offs and even for many scripts and tools that expect to be sourced in your dotfiles from bash.

Post reply on HN