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

Linux

54535 readers
532 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 8) 7 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 5 months ago (2 children)

People always sleep on script. It's badass and let's you do goofy things like this while keeping standard terminal formatting: https://github.com/StaticRocket/dotfiles/blob/043e9a56cc9515060188ec4642e4048c0dd6c000/dot_bashrc#L79-L94

load more comments (2 replies)
[–] [email protected] 99 points 5 months ago (21 children)

A few that I use every day:

load more comments (21 replies)
[–] [email protected] 39 points 5 months ago (11 children)

I'm a big fan of screen because it will let me run long-running processes without having to stay connected via SSH, and will log all the output.

I do a lot of work on customers' servers and having a full record of everything that happened is incredibly valuable for CYA purposes.

[–] [email protected] 16 points 5 months ago (7 children)

I'd recommend tmux for that particular use. Screen has a lot of extras that are interesting but don't really follow the GNU mentality of "do one thing and do it well."

load more comments (7 replies)
load more comments (10 replies)
[–] [email protected] 5 points 5 months ago* (last edited 5 months ago) (2 children)

+1 to caddy. There are some services that set safe headers following the recommendations outlined by Mozilla but others don't control headers as strictly. Caddy is the only web server that I found that supports loose default header values. These values will be selected unless the upstream application specifies their own values.

You can do something similar in nginx but it requires playing with maps and has a little more indirection than I'd like.

Just wish caddy was capable of starting as root and stepping down permissions like Nginx. I have certs being managed by other tools and have to make sure they are installed and chowned for caddy's use when they are cycled.

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

Funny how this was one of the first tools I learnt once I "seriously" started my linux journey, lol

load more comments (5 replies)
load more comments
view more: ‹ prev next ›