232
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 04 Dec 2026
232 points (99.2% liked)
Linux
69010 readers
1396 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 7 years ago
MODERATORS


Impressive to do it in Bash. How come you chose Bash instead of a programming language that would make this sort of thing easier? Learning exercise?
Well, what can I say, I like Bash. This project started as a one-liner, and improved from there. I guess it could be written in Python, or in C if you are adventurous enough, but it seemed way easier to not invent the wheel all over, and use the magic powers of
grep.I enjoy writing POSIX scripts and it gets a lot of reactions. Sure I could use a higher level language but I love the oddities and strangeness of POSIX shell.
I definitely have more fun working with a limited canvas so I get why people would use bash.
Plus all anyone needs to get started is a text editor. No list of dependencies or compilers, just get in and go :)
funny you say this since i went into java, ruby and python because bash made it difficult.
fast forward 20 years and i'm working as a devops engineer and absolutely 👏 every 👏 single 👏 shop is absolutely DOMINATED by bash -- yes there's plenty of python et. al; but bash is clearly doing the heavy lifting. :p