this post was submitted on 05 Feb 2022
5 points (100.0% liked)

Linux

49493 readers
598 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
 

Why aren't new terminals that use another language? It seems so antiquated getting errors for not writing the functions in the correct order among other things.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 years ago (1 children)
[–] [email protected] 1 points 3 years ago (1 children)

Because people code in Bash. For example, a Makefile that I downloaded from GitHub didn't work on my computer, since my computer's default shell was Dash.

The Makefile didn't have the shebang to tell which shell is required, but it looks like a Bash script and it works on Bash.

[–] [email protected] 0 points 3 years ago

The Makefile didn't have the shebang to tell which shell is required, but it looks like a Bash script and it works on Bash.

I think the fault is in the makefike, not that bash is commonly used.

I use bash for interactive sessions and POSIX shell for scripts (including the shebang).