this post was submitted on 03 Jan 2025
345 points (98.1% liked)

Linux

48876 readers
907 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
 

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 comment's thread
view the rest of the comments
[–] [email protected] 25 points 2 days ago (17 children)

yes

The most positive command you'll ever use.

Run it normally and it just spams 'y' from the keyboard. But when one of the commands above is piped to it, then it will respond with 'y'. Not every command has a true -y to automate acceptance of prompts and that's what this is for.

[–] [email protected] 2 points 2 days ago (12 children)

What's the syntax here? Do I go

command && yes

I'm not sure if I've had a use case for it, but it's interesting.

[–] Raptorox 10 points 2 days ago

That will just wait for command to finish properly and then run yes.

What you want to run is yes | command, so it spams the command with confirmations.

load more comments (11 replies)
load more comments (15 replies)