this post was submitted on 16 Jun 2025
153 points (95.3% liked)

Linux

55390 readers
595 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 6 years ago
MODERATORS
 

Hello, I yet again come, hat in hand, for assistance from those wiser in the ways of the Linux. I’m having a bit of an issue downloading Jellyfin on my ElementaryOS laptop. I’ve tried all the guide on the first few pages of ddg only to receive errors after entering the comman “ sudo apt-get update “. I get ERR:3 https//repo.jellyfin.org/debian circle Release 404 Not found.

If someone can point me the way I’d be most appreciative

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

GOOD FOLLOW UP!!

I was about to shit a brick that you went from "go to the official trusted source" to "just trust me: curl [x] | sudo bash"

https://youtu.be/dT7X2IxBDjc

[–] p03locke 4 points 2 days ago (3 children)

You can do some wild shit with pipes:

  • head -10 /var/log/syslog - Look at the first ten lines of one of your log files, with timestamps on the front
  • cat /var/log/syslog | cut -d' ' -f1 - Splits the lines by a space delimiter (the -d' ' part), and grabs the first "field" (the one with the timestamp, using -f1)
  • cat /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 - Splits the timestamp at the "T", and leaves only the date
  • cat /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 | sort | uniq -c - Gives you a count of each date
  • grep systemd /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 | sort | uniq -c - For only the lines with 'systemd' on it, gives you a count of each date

The standard GNU toolkit has a ton of utilities like that for doing stuff with text files.

[–] [email protected] 8 points 2 days ago (1 children)

At work whenever we need to build little command line tools, my team is always vexxed by my guideline to have the meat+potatoes in a script that reads well-formatted data off stdin , and outputs well formatted-data to stout. They always wanna have some stupid interactive prompts and saving to files baked right in.

This is exactly why. You wanna save to a file?? > file

You want to read from a file? cat |

You want to save to a file but swap commas for colons? Sed.

You get so much FOR FREE w/ the GNU toolkit, even for what you build yourself, by thinking in streams.

[–] [email protected] 6 points 2 days ago* (last edited 2 days ago) (1 children)

When trying to explain that concept, I like showing people this: https://www.youtube.com/watch?v=tc4ROCJYbm0&t=296

[–] [email protected] 3 points 1 day ago

Wow, this was a treat to watch. Never would have imagined Brian Kernighan would be explaining shell pipeline to me in such a cosy setting

[–] [email protected] 3 points 1 day ago

I find it unbelievably cool that the guys who came up with this got it so right the first time, that its still incredibly powerful today.

[–] [email protected] 2 points 2 days ago

Me, a simpleton,

"Wut dat mean"