Which Linux command or utility is simple, powerful, and surprisingly unknown to many people or used less often?

This could be a command or a piece of software or an application.

For example I’m surprised to find that many people are unaware of Caddy, a very simple web server that can make setting up a reverse proxy incredibly easy.

Another example is fzf. Many people overlook this, a fast command-line fuzzy finder. It’s versatile for searching files, directories, or even shell history with minimal effort.

You are viewing a single thread.
View all comments
84 points

A few that I use every day:

permalink
report
reply
1 point

Could you explain them in more depth? I opened them and don’t know

permalink
report
parent
reply

Fish is a replacement of bash that’s a bit more user friendly (has some cool auto completion features out of the box and more sane behaviour like handling of spaces when expanding variables). I personally started to use nutshell recently but unlike fish it’s very different from bash.

Starship is a “prompt” for various shells (that bit of text in terminal before you enter the command that shows current user and directory in bash). I haven’t used it but AFAIK it has many features like showing current time, integration with git, etc.

permalink
report
parent
reply
1 point

Thanks!

permalink
report
parent
reply
6 points

Yep, here’s my Starship prompt, for example:

So, I have it configured to show:

  • the exit code of the last command (if it’s non-zero),
  • the duration of the last command (if it’s longer than 2 seconds),
  • the time (when the last command ended),
  • the current directory,
  • the current Git branch, and it also shows some Git status information, for example the $ means I have something stashed,
  • and finally the technology in use in a repository/directory, so in this case that repo uses Rust and the compiler version is 1.83.
permalink
report
parent
reply
7 points

Helix is a terminal based text editor. It’s much like vim / neovim, but unlike those editors it’s good to go right out of the box, no configuration or plugins needed to make it work well.

Topgrade is one I haven’t used, but it looks like its intended purpose is to let you upgrade your apps with one command, even if you use multiple different package managers (I.e. if you were on Ubuntu, you could use it to upgrade your apt packages, at the same time as your snap packages, as well as flatpak, nix, and homebrew if you’ve added those.)

permalink
report
parent
reply
2 points

Thank you for explaining. I would never have understood topgrade without your example :)

permalink
report
parent
reply
2 points

Helix is great thanks

permalink
report
parent
reply
2 points

Once Helix gets plugin support and someone makes a Clojure REPL plugin as good as Conjure I am never touching vim again!

permalink
report
parent
reply
0 points

It does have clojure lsp support, but you’ll probably have to use a command line for most repls.

permalink
report
parent
reply
2 points

Yeah the clojure lsp support is top notch, but there being no support for “jacking in” to a repl is the big thing keeping me from using helix full time. There’s a way of doing it if you use kitty, but it’s pretty janky.

permalink
report
parent
reply
15 points

Just commenting to give more love to helix. It’s my favorite “small quick edits” editor.

permalink
report
parent
reply
21 points

I heard about helix from you and I’ve used it for a year and a half or so now, it’s by far the best editor I’ve used so far and I can definitely vouch for it

permalink
report
parent
reply
6 points

Nice!

permalink
report
parent
reply
5 points

I’ve actually been testing with fish recently coming from zsh, though I might wait until 4.0 fully releases before I make a more conclusive decision to move or not.

With that said, I remember looking through omf themes and stumbled onto Starship that branched off one of the themes and really liked the concept.

permalink
report
parent
reply
6 points

One thing that holds people back sometimes is that bash scripts that set environment variables don’t work by default. https://github.com/edc/bass is an easy solution

permalink
report
parent
reply
1 point
*

Do you have experience with either ranger, lf, or yazi? I’m wondering how broot compares. Big fan of file ranger, and this looks very similar.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 6.8K

    Monthly active users

  • 6.8K

    Posts

  • 185K

    Comments