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!

    • ScientifficDoggo@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      18 days ago

      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!

      • hakunawazo@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        17 days ago

        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.

        • ScientifficDoggo@lemmy.zipOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          17 days ago

          Why the switch? What features drew you in and kept you in? I haven’t dove into multiplexing yet so no need to get too in the weeds, I wanna do some research then make a separate post about that later.

      • calliope@retrolemmy.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        17 days ago

        It’s a replacement for grep, which searches the content of text files for a regular expression.

        Ripgrep is very fast. If you use grep, it’s an easy drop-in.

  • Hellfire103@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    17 days 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
  • a14o@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    18 days ago

    I prefer vifm to ranger.

    Other than that it’s a tough question to answer because use the command line for everyday productivity, but

    • neovim
    • neomutt
    • khal
    • khard
    • castget

    rsync seems really low-level though, so let me also mention

    • btm
    • git
    • ag
    • find
    • ScientifficDoggo@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      17 days ago

      Oh wow, there’s a command line email and calendar client. Thanks for bringing these to my attention. I’m still, slowly, learning vim keybinds so vifm is out for me.

      What’s the difference between btm and top/btop? What does ag do for you differently than grep?

  • owenfromcanada@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    17 days ago

    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)
  • liliumstar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    17 days 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.

  • Hemingways_Shotgun@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    16 days 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.