this post was submitted on 23 May 2025
33 points (86.7% liked)

Linux

7449 readers
37 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] thingsiplay@beehaw.org 8 points 4 days ago (2 children)

These lists are always nice. But how does following even fit into the topic of this post at all? These are not underrated hidden gems and most who use the terminal used it already:

  1. > file.txt Command – Overwrite a File

Routing the stdout to a file is one of the most common used "commands" in Linux. And one to learn at the very beginning.

  1. ping -i 60 -a IP_address Command – Ping with a Custom Interval

Probably not that useful in day to day usage, but I assume this is one of the most basic commands lot of people used it in the past to test if they have internet access. ping google.com is common, or so I thought.

Otherwise there are some nice listings, such as at (I really should use that one too), du (actually not that hidden, but its probably underrated and people install lot of tools doing same instead) or yes (useful for certain automation, where you know the answer is to proceed). A solid list, but a little bit short and with a few questionable entries.

[–] kbal@fedia.io 4 points 4 days ago (1 children)

There's someone out there to whom the existence of ping -i 30 is news.

The idea of using >file instead of touch file — or cp /dev/null file if it already exists — is new to me, though it doesn't seem all that useful.

[–] caseyweederman@lemmy.ca 2 points 3 days ago

I've been doing echo "" > file
Useless Use of Echo I guess.