Must have commandline tools?

Big fan of commandline tools such as vim, htop etc. What is in your opinion must have tools?

19 points · 39 comments · view on lemmy.world

39 Comments

ds12@beehaw.org · 7 pts · 3y (7 replies)

fzf for quickly matching file names especially deep in the directory hierarchy

ripgrep for quickly searching for text content within files

dtrx for handling the right extractions of different archive types

wildbus8979@sh.itjust.works · 3 pts · 3y (5 replies)

What is the difference between ripgrep and just plain grep?

ForthEorlingas@lemmy.fmhy.ml · 5 pts · 3y (3 replies)

ripgrep is a reimplementation of grep in Rust. It benchmarks faster for large file searches and also comes with quality of life features like syntax highlighting by default.

ShitpostCentral@lemmy.world · 4 pts · 3y (2 replies)

It also ignores files in .gitignore and some others by default

eyolf@lemmy.world · 3 pts · 3y (1 reply)

It also has a much simpler and forgiving syntax. Just type rg anything and it finds anything

wildbus8979@sh.itjust.works · 1 pts · 3y

grep does that through fgrep

mosthated@feddit.nl · 1 pts · 3y

Even better, there is ripgrep-all that can also search in binary files like PDFs and office documents: https://github.com/phiresky/ripgrep-all

tasmo@feddit.de · 1 pts · 3y
[ removed ]
wildbus8979@sh.itjust.works · 6 pts · 3y

xclip is incredibly useful to get and set data from the clipboard!

gopup is to html what jq is to JSON. It allows you to parse html to extract specific data for a given selector.

0xCAFE@feddit.de · 5 pts · 3y

yt-dlp

lucidmushr00m@lemmy.ml · 4 pts · 3y (2 replies)

ffmpeg

alsamixer

And on a more devops front k9s https://k9scli.io/

lenathaw@lemmy.ml · 4 pts · 3y

k9s is a game changer

JollyRoberts@lemmy.ml · 2 pts · 3y

Love k9s! I just pull dnit down and used it again today.

user@discuss.tchncs.de · 4 pts · 3y

Ncdu is a really useful little utility that shows you what directories are using the most space on whichever drive/directory you select. Really useful little piece of software.

hdparm is another neato one that let's you test the read speeds of your drives, though it's more so something ya use once and forget exists.

Also, though Neovim is more popular, Helix deserves some recognition. It's a rust based, vim inspired text editor which removes the need to configure it, making it easier for people trying to get into terminal text editors.

Edit: Jerboa removed the first name, my bad.

starship_lizard@lemmy.world · 4 pts · 3y (2 replies)

I mentioned this in another post, but tmux is awesome

kylian0087@lemmy.world · 1 pts · 3y

Took me a while to get used to. As i have used screens for years. But tmux is so much better in the end

privsecfoss@feddit.dk · 1 pts · 3y

Couldn't live without it!

hal_canary@lemmy.sdf.org · 4 pts · 3y

off the top of my head:

  • vim
  • git
  • bash
  • make
  • whatever-compiler-im-using
  • curl
  • less
  • grep
cefadroxilthranduil@lemmy.world · 4 pts · 3y
  • gcalcli : helps accessing google calendar using calendar api
  • neix : rss reader
  • I don't know if it counts but : fish shell
ForthEorlingas@lemmy.fmhy.ml · 4 pts · 3y (3 replies)

I basically live in nvim. Being able to configure my editor in an actual programming language makes it so much more useful to me than vim could ever be.

privsecfoss@feddit.dk · 1 pts · 3y

Also use nvim and love it. Not vim as the title says.

sin_free_for_00_days@lemmy.one · 1 pts · 3y (1 reply)

I found lua to be a better programming language, but the text specific design of vimscript makes way more sense to my brain.

ForthEorlingas@lemmy.fmhy.ml · 2 pts · 3y

Yes, Vimscript is way more intuitive than Lua in a lot of ways. And as far as programming languages go, Lua has some strange design choices that I'm not the biggest fan of, either. However, it really does open up a lot of possibilities when your configuration is programmatic.

eyolf@lemmy.world · 3 pts · 3y

Ranger and/or vifm as file managers. Can't live without them

Ramin_HAL9001@lemmy.ml · 3 pts · 3y

I have mostly replaced all command line stuff with Emacs, but there are still a few CLI utilities that I continue to use, whether I am in the CLI directly or whether I am using Emacs:

  • tmux or screen (terminal multiplexing)
  • bash (shell scripting)
  • grep, sed (filtering, formatting)
  • ps, pgrep, pkill (process control)
  • ls, find, du (filesystem search)
  • ssh, nc, rsync, sshfs, sftp (remote access, file transfer)
  • tee, dd (pipe control)
  • less, emacs, diff, patch, pandoc (text editing)
  • man, apropos (manual)
  • tar, gzip, bzip2, xz (archiving)
  • hexdump, base64, basenc, sha256sum (data encoding, checksums)
  • wget, curl, (HTTP client)
  • dpkg, apt-get, guix (package management)
  • mpv (media player)
  • ldd, objdump, readelf (inspecting binary files)
  • zfs (maintaining my backup filesystem)
fossesq@beehaw.org · 3 pts · 3y

I am thoroughly enjoying using mcfly.

krash@lemmy.ml · 2 pts · 3y

I really like entr - "Run arbitrary commands when files change"

http://eradman.com/entrproject/

fleg@szmer.info · 2 pts · 3y
  • ranger and mc - both are file managers, and their approach is so different that I choose one of them I need at the moment depending on what do I want to do (mc for traditional file management, ranger for looking around the directory tree and peeking into files)
  • htop, tmux - classics
  • weechat, profanity - for my IM needs
  • ripgrep - for searching through files
  • magic-wormhole for file and ssh public key exchange
  • mosh for when the network conditions aren't ideal
  • nmap to see if that machine I've connected into the network is up and what IP did it get
  • bat for quick looking into files
  • gdb, with mandatory gdb dashboard
  • nvim for serious text and code editing, micro for more casual editing
jdkfbdjdfhfkndd@dormi.zone · 2 pts · 3y

i use kibi as a text editor

i also have terminal client called alacritty

also doas instead of sudo

kylian0087@lemmy.world · 2 pts · 3y
[ removed ]
rghvdberg@lemmy.ml · 2 pts · 3y

zoxide, makes file navigating so much easier.

btop is gorgeous ofc.

cheat, for cheat-sheets.

TechnologyClassroom@partizle.com · 2 pts · 3y

argos-translate for offline machine language translation.

tmux & neovim for editing files and organizing the terminal displays.

asciinema for recording and playing back terminal sessions.

chris@lem.cochrun.xyz · 2 pts · 3y

I personally like bat, fd, rsync, btm, btop, rg, and nix. Nix is a package manager tho, so that's a whole bag of worms.

Fubarberry@lemmy.fmhy.ml · 1 pts · 3y

Kakoune (kak) has become my go to vim replacement. Keybinds are tweaked slightly to be more user friendly and more transparent about what it is you're doing.

I never mastered vim binding as well as I liked, but the more intuitive and better communicated binds for kak were easy to learn in comparison and I quickly swapped over.

ashley@lemmy.ca · 1 pts · 3y

bat is a nice one