this post was submitted on 05 Oct 2023
130 points (97.1% liked)

Linux

48366 readers
955 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
you are viewing a single comment's thread
view the rest of the comments
[–] NemoWuMing@lemmy.world 16 points 1 year ago (2 children)

The original "ed" text editor, from 1969 Unix. Everyone should spend a few days trying to get some work done with it, if only to appreciate how we have nicer things now.

[–] MigratingtoLemmy@lemmy.world 4 points 1 year ago

It is lovely on embedded devices. I sometimes bring it out for fun on my main PC instead of vim too haha

[–] Ramin_HAL9001@lemmy.ml 3 points 1 year ago* (last edited 1 year ago)

Another nice thing about ed is that it is sometimes easier to use than sed when you want to edit a file programmatically, since you can navigate lines at random (forward and backward directions), and you can still run regex find/replace like with sed. Just

printf 'i\nstring of ed commands\n.\n' | ed file-to-edit.txt

and pipe the commands into ed, although it is really an esoteric way to write scripts.