“Advanced Linux Commands You’ve Probably Never Used”
pingfoobar Command – Quick Text Substitution
doesn’t work for me (using fish) and is apparantly only available in bash; would you call that then a command?
at Command – Schedule One-Time Tasks
at is also not a built-in but an external tool you have to install first; but its an interesting one.
doesn’t work for me (using fish) and is apparantly only available in bash; would you call that then a command?
Right, the
^search^replaceis a Bash feature. It is a builtin command, likeechoorcdin example. Just because a command is not available to any other shell or if its not an independent program, does not make it not a command (in my opinion).However I agree its a little bit out of place here. A note that its a builtin and not universally available to every shell would have been nice in such a listing.
just for the sake of being pedantic:
echois actually a program (just likels)cdthough is indeed a command. And I agree with your last statement.echois a program, but some shells like Bash and zsh also have a built-inecho. You can runtype echoto verify that.whelp… i tried to be pedantic and then got schooled. Thanks :D
In Bash
echois a builtin command. The external indipendent/usr/bin/echois only used by non Bash shells.whelp… i tried to be pedantic and then got schooled. Thanks :D
Well, you was not wrong though. Because it is both. I just forgot it, so you schooled me too. :-) We can have it all! :D
very sympathetic of you <3
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:
- > 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.
- 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.comis 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) oryes(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.There’s someone out there to whom the existence of
ping -i 30is news.The idea of using
fileinstead oftouch file— orcp /dev/null fileif it already exists — is new to me, though it doesn’t seem all that useful.I’ve been doing echo “” > file
Useless Use of Echo I guess.
Mine you, this page is clearly targeted at an audience who’ve never opened a shell before; they’re all quite common, and it’s almost impossible to have spent any time in bash, zsh, or any bash-ish shell without encountering or using these. Also, a couple are not going to work at all in non-standard shells like fish, nushell, or even more common shells like ash, BusyBox, or the venerable csh, because they’re bash built-ins. There’s dependency on the GNU toolset, too; some of these commands won’t work on FreeBSD, even when running bash, because the SysV tools have different argument lists.
all quite common
Yeah. This listicle is junk.
The title is junk. Tutorials for beginners are fine, but the title is misleading for anyone but a complete novice.
du -sh * | sort -his a thing I type frequently.Yea, I love
du -hd 1 | sort -hwhen cleaning up. I absolutely love that I don’t need any extra software to quickly locate whatever takes up space. I can do this on any machine without installing anything extra.Check out duf though
That’s a completely different tool, though, no? I just do this for determining when I need to clean up:
df -hx tmpfsGives me enough information for this purpose and, again, does not require any additional software,
dfis part ofcoreutils.
Just thinking of commands I need to learn, and I think
chrootis up there. Iirc, you can recover from some extremely bad system states with an ISO andchroot.I understand the basics of what it does from it’s description, I just haven’t really dived deep enough to feel comfortable with it.









