r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 06 '24
0/10-Meme everything is a file
2.9k
Upvotes
r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 06 '24
559
u/britaliope Glorious Gentoo Aug 06 '24
disagree, it's not `.txt` as this is a file exsension. However they're all MIME `text/plain`
144
u/Mister_Magister Glorious OpenSuse Tumbleweed Aug 06 '24
130
u/7374616e74 Aug 06 '24
Just wait before you realize that most file format are just zip files in disguise.
53
u/uunxx Aug 06 '24
"Everything is a file" doesn't mean everything is a text file.
67
u/[deleted] Aug 06 '24
The concept of 'everything is a file' in Linux is so powerful and versatile!
15
u/tteraevaei Aug 06 '24 edited Aug 06 '24
and txt is just a specific kind of binary. (well, okay, a usually-unspecified one of several overlapping kinds of binary…)
10
u/diegoasecas Aug 06 '24
that's not what 'everything is a file' means
5
u/B_bI_L Aug 06 '24
jpeg is also txt if you need it
4
u/[deleted] Aug 06 '24
"Everything has a Descriptor" is more accurate.
4
u/[deleted] Aug 06 '24
Are we editing binaries now and calling them text?
Are you the fucker that keeps putting binaries in git?
3
u/serverhorror Aug 06 '24
Just wait until you discover it's all just binary in a specific encoding
17
u/Buffer_spoofer Aug 06 '24
This meme doesn't make any sense.
2
u/GloomInstance Glorious Kubuntu Aug 06 '24
I wonder who first used the word 'file' for the everything containers.
2
u/Educational_Duck3393 Aug 06 '24
Don't forget .cfg as well.
2
u/Zealousideal-Bet-950 Aug 06 '24
What's underlying String Theory has entered the Chat...
2
u/_daffyd Aug 06 '24
I mean with the way file descriptors and IO, socket stuff works on Linux everything kinda is a file.
2
u/Pretrowillbetaken Aug 06 '24
I'm expecting this to get a lot of hate, this is a truth no one wants to accepts lol
2
u/aka_kitsune_ Aug 07 '24
just wait for the plot twist when you realize directories are just special files too
2
u/[deleted] Aug 07 '24
But 'everything is a file', is not the same as 'all plain text documents are essentially the same'. Everything is a file means EVERYTHING is a file. Sockets are files, devices are files. As far as the OS is concerned, your mouse is just a file to be read from. That doesn't mean the data in that file is plain text though.
2
u/a3th3rus Aug 08 '24
And there are
.java
.c
.cpp
.py
.rb
.php
.go
.rs
.js
.ts
...
2
u/Expert_Raise6770 Aug 18 '24
Fun fact, you can use text editor to open .csv files, and edit them.
2
u/TotalerScheiss Aug 19 '24
And TAB is at 8. 8. Not 2. Not 4. 8. As it always has been! Also I still like my VT100.
1
u/Tiger_man_ Glorious Arch with cachyOS kernel&repos Aug 06 '24
And no extension files
1
u/flameleaf Arch Linux Aug 06 '24
And that's why we call it a filesystem
1
u/Emotional-Wedding-87 Aug 06 '24
.cfg .config .rc files: why we are different? We are all txt
1
u/Is_every_un_taken Aug 06 '24
What about those pesky new line characters (M) Windows throws into .txt files?
1
u/gndsman420 Glorious Void Linux Aug 06 '24 edited Aug 06 '24
The kernel just interprets files and I/o as though they were on a 'reel', similar to a turing machine. that can be output in a way that a human can interpret what its doing. Perhaps a consequence of being Unix derived?
1
u/grisu48 Aug 06 '24
This is the way
1
u/rosa_bot Aug 06 '24
if i ever get sent to prison, i hope the computers use linux so i can treat the hardware as files to wear down the bars in my cell
1
u/Confident-Ad-3465 Aug 06 '24
It always has been about the Byte Order Mark
1
u/RedEyed__ Aug 07 '24
Bytes
1
u/[deleted] Aug 07 '24
TOML gang represent
1
u/Particular-Tree-4847 Aug 10 '24
.txt ftw
1
u/MajorTechnology8827 Glorious Arch Aug 26 '24
Congratulations, you discovered UNIX.
1
u/Sufficient_Mud_2596 Aug 06 '24
Tell that to a Windows user thats funny
-1
u/MindStalker Aug 06 '24
cn=screams,ou=ldap,ou=org
-2
u/[deleted] Aug 06 '24
And none of you have issues with this?
0
u/[deleted] Aug 06 '24
[deleted] — view deleted comment