Howdy y'all!

I'm curious about everyone's favorite/most used CLI tool! Please include your favorite as well as your use case if you don't mind. Mine is rsync, which I use to keep my home music storage synced with my music player's SD card.

Runner up is ranger to navigate files. I mainly use this to quickly visually navigate mounted drives that I did not organize myself.

Hope to hear from you all soon, thanks!

all 30 comments

sorted by: hot top controversial new old
[–] 10 points 1 year ago

jq is a really good one.

  • source
  • [–] 7 points 1 year ago* (3 children)

    ssh, screen, vim, git, grep, find, less
    In that order.

  • source
  • hideshow 3 child comments
  • [–] [S] 5 points 1 year ago (2 children)

    I do love me some ssh, it initially blew my mind how simple it was to set up.

    I have no idea what screen does, even after glancing at the man page, can you enlighten me on your use case for it?

    I'm still learning (quite slowly) vim keybinds, but I've gotten to the point where I can "use" it and not get trapped.

    I've never used git personally, what's your use case if you don't mind?

    Thanks!

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 1 year ago* (last edited 1 year ago) (1 child)

    screen keeps the current state of your console if your connection is lost or if you switch devices. You could also use tabs for multiple console windows. Customize it by a ~/.screenrc file (scrollback amount, no welcome screen, nicer colors, a status bar ...)

    About vim: I enjoy it most with an eye-friendly theme and some plugins like nerdtree (file explorer) and ctrlp (fuzzy file search). More plugins here: https://vimawesome.com/ You can (and should) use your own ~/.vimrc config file, where you could setup your own keybindings, plugins and themes.

    About git: It's a version control tool to keep track of your file changes. Properly configured, you could also use your vim for git file differences (git difftool). Professionally used for code changes and collaboration with other developers. Privately it could be used to track changes in your local markdown documentation, your diary or your tex thesis for example.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 1 year ago (1 child)
  • [–] 7 points 1 year ago (2 children)
  • [–] [S] 2 points 1 year ago (1 child)

    So a quick look at the man page says its a fuzzy search. How do YOU use it? So I can get a point of reference to figure things out myself.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 1 year ago*

    Most used (estimated, excluding base utilities and package managers):

    • micro
    • git
    • ssh
    • tree
    • (un)zip
    • curl
    • mpv
    • fzf
    • tar
    • fastfetch

    Favourite:

    • fastfetch
    • micro
    • curl
    • btop
    • w3m
    • scp
    • wormhole
    • mc (Midnight Commander)
    • aerc
    • 7z
  • source
  • [–] 6 points 1 year ago (2 children)
  • [–] 5 points 1 year ago (1 child)

    Most used? Probably...

    • ls
    • cd
    • nano
    • cat
    • ssh
    • ping
    • grep

    Favourite? Probably one of...

    • yt-dlp_linux (for getting... stuff...)
    • ffmpeg (for modifying a/v files)
    • rsync (for pushing files to my media server)
  • source
  • hideshow 1 child comment
  • [–] 5 points 1 year ago

    Outside of the coreutils and builtins, I use git a lot for work, school, and otherwise. I prefer the simplicity and speed over a graphical client.

    btop is probably one of my favourites, really easy and nice way to visualize the system status.

  • source
  • [–] 4 points 1 year ago

    As a video editor (not professionally...just a hobbyist) anything to do with ffmpeg. Fast and easy to batch convert codecs, etc... Pretty much every function of most FOSS editors are built around ffmpeg, and nearly every function has a CLI equivalent. I mean, yeah, of course for a lot of those you have to have the GUI to see what you're doing. But there's plenty that can be done without even needing to open up your editor.

  • source
  • [–] 4 points 1 year ago

    man

    My use case is i’m a forgetful dipshit.

  • source
  • [–] 4 points 1 year ago

    rg is lovely.

  • source
  • [–] 3 points 1 year ago (2 children)
  • [–] [S] 3 points 1 year ago* (last edited 1 year ago) (1 child)

    I'm familiar with the flac format, but not so much with the program. What do you use it for?

    I've never heard of ffmpeg, but a quick glance at the man page says it can rip from data streams with sounds awesome! What's your main use case if you don't mind sharing?

    Thanks, btw

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago

    I use flac to encode wav/aiff files to flac and to read flac fingerprints (md5) from flac files. I mainly use ffmpeg for ripping subtitles from mp4 files, but it's a pretty versatile tool.

  • source
  • parent
  • [–] 3 points 1 year ago

    sl

    nyancat

    Not useful, but fun.

  • source
  • [–] 3 points 1 year ago

    sl

    Just try it.

  • source
  • [–] 2 points 1 year ago

    Edir. Renaming files in the text editor.

  • source
  • [–] 2 points 1 year ago

    lazygit - git client

  • source
  • [–] 1 point 1 year ago

    ncdu and nano

  • source
  • [–] 1 point 1 year ago

    Hard to pick an absolute favorite, but these are my top tools I use almost everyday

    • jq
    • jless
    • k9s
    • tmux
  • source