this post was submitted on 03 Jan 2025
378 points (98.0% liked)

Linux

54444 readers
435 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 6 years ago
MODERATORS
 

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.

(page 5) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 4 months ago (2 children)
  • xargs
  • parallel
  • PXE (ohai cobbler)
  • tee
  • task-spooler (ts aka tsp)
  • rpm -V

Nothing new, just forgotten.

load more comments (2 replies)
[–] [email protected] 6 points 4 months ago (6 children)

Lightweight sudo alternatives, hard to google too. I know ssu and rdo, please mention others.

load more comments (6 replies)
[–] [email protected] 4 points 4 months ago

edir, can use GUI editors too.

[–] [email protected] 24 points 4 months ago (3 children)

I don't see anyone mentions htop. So, I will:) Just works, could be installed in any distro. Much more friendly than top but isn't bloated with features as some other alternatives are.

load more comments (3 replies)
[–] [email protected] 4 points 4 months ago

On the subject of editors, joe is just awesome: lightweight, powerful, had coffee coloring and line numbers, and you can choose it with Ctrl+C:)

[–] [email protected] 10 points 4 months ago (5 children)

A really simple one but surprisingly useful is cal

[–] [email protected] 4 points 4 months ago

Cool cal trick, it knows about the Gregorian calendar reform: cal 9 1752

load more comments (4 replies)
[–] [email protected] 17 points 4 months ago (1 children)

Discovered about rg recently and it is cool!

[–] [email protected] 5 points 4 months ago* (last edited 4 months ago) (9 children)

As someone who has to do installs and admin at work a lot I'm constantly dealing with yum/dnf. I cry when I have to work with AIX.

load more comments (9 replies)
[–] [email protected] 34 points 4 months ago (3 children)
load more comments (3 replies)
[–] [email protected] 21 points 4 months ago (3 children)

yq is crazy cool for converting between different text-based data formats such as yaml, json, xml, csv and others, and it has a super nice pretty-printing function as well. I use it all the time!

Just be aware that your distroy might come with a yq variant too, but possibly one that isn't as powerful as the one I linked. I know this to be true at least for Ubuntu.

load more comments (3 replies)
[–] [email protected] 40 points 4 months ago

The pipe (|), which if you think about it is the basis for function composition.

[–] [email protected] 15 points 4 months ago (1 children)

I think socat is a really powerful und underrated tool

[–] [email protected] 4 points 4 months ago

I’ve used it in high-throughput production environments to do things that netcats can’t.

[–] [email protected] 8 points 4 months ago

I like btop Maybe not really "unknown", but hey for those that don't know about it, check it out!

[–] [email protected] 11 points 4 months ago (1 children)

miniserve

A static file server, I use it for temporary file share in company, just run miniserve . in the folder.

dua

Alternative of du command, run dua i for a text UI

[–] [email protected] 8 points 4 months ago

Also useful in this regard, python comes with a sìmple file server built in, python -m http.server --directory /dir/ would serve /dir/ on port 8000.

load more comments
view more: ‹ prev next ›