this post was submitted on 13 Jun 2023
19 points (100.0% liked)

Linux

45534 readers
1302 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

top 35 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 year ago (2 children)

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

[–] [email protected] 3 points 1 year ago (2 children)

What is the difference between ripgrep and just plain grep?

[–] [email protected] 5 points 1 year ago (1 children)

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 4 points 1 year ago (1 children)

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

[–] eyolf 3 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

grep does that through fgrep

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 6 points 1 year ago

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.

[–] [email protected] 5 points 1 year ago
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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 4 points 1 year ago (2 children)

I mentioned this in another post, but tmux is awesome

[–] [email protected] 1 points 1 year ago

Couldn't live without it!

[–] kylian0087 1 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

off the top of my head:

  • vim
  • git
  • bash
  • make
  • whatever-compiler-im-using
  • curl
  • less
  • grep
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)

ffmpeg

alsamixer

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

[–] [email protected] 4 points 1 year ago

k9s is a game changer

[–] [email protected] 2 points 1 year ago

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

[–] cefadroxilthranduil 4 points 1 year ago
  • gcalcli : helps accessing google calendar using calendar api
  • neix : rss reader
  • I don't know if it counts but : fish shell
[–] [email protected] 4 points 1 year ago (2 children)

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.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago

I am thoroughly enjoying using mcfly.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

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)
[–] eyolf 3 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

zoxide, makes file navigating so much easier.

btop is gorgeous ofc.

cheat, for cheat-sheets.

[–] [email protected] 2 points 1 year ago

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

http://eradman.com/entrproject/

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago
  • 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
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

i use kibi as a text editor

i also have terminal client called alacritty

also doas instead of sudo

[–] [email protected] 1 points 1 year ago

bat is a nice one

[–] [email protected] 1 points 1 year ago

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.

load more comments
view more: next ›