GNU
A free-software project that wrote many standard command-line tools, including Bash, grep, sed and the core file utilities.
In more detail
The name is a recursive joke: GNU's Not Unix. Most Linux distributions combine the Linux kernel with GNU tools, so the ls or grep you use on Linux is usually the GNU version. The BSD versions on macOS accept mostly the same options, but a few flags differ, which is why a script can behave differently on a Mac.
Related terms
- Bash — The GNU shell: a program that reads commands, typed or from a script, and runs them.
- Linux — A free, open-source operating system kernel, and the family of operating systems built around it.
- BSD — A family of Unix-like operating systems, such as FreeBSD and OpenBSD, descended from the Berkeley version of Unix.
- Unix — A family of operating systems from the 1970s whose design ideas Linux and macOS both follow.
- command-line option — An argument starting with a dash, such as -r or --help, that changes how a command behaves rather than naming what it works on.
Taught in
- What A Shell Is, And What Bash Is — Bash Scripting & Command Line Automation
- Finding Lines: grep And Regular Expressions — Bash Scripting & Command Line Automation
- Archives, Transfers And The Network — Bash Scripting & Command Line Automation
- Parsing Arguments with flag — Concurrent Systems Programming with Go
- The App In /bin That Vanished: The FHS, Distributions And Licences — CompTIA Linux+ (XK0-006) Exam Prep
- Friday's Backup, Monday's Restore: Incrementals, Images And Compressed Logs — CompTIA Linux+ (XK0-006) Exam Prep
- The Upgrade That Broke Nginx: Packages, Repositories And Pins On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Exam 101 Strategy: Weights, Blanks And Ninety Minutes — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
References
- About the GNU operating system
- GNU Coreutils manual
- Free Software Foundation: about (sponsor of the GNU Project)