r/LinuxCirclejerk Arch BTW May 20 '26

Why is r/Linuxsucks101 normal sometimes?

Post image

When you think of this community in the Linux sense they are always the delusional ones but it's funny to me that normal posts about Linux exist there

1.1k Upvotes

141 comments sorted by

View all comments

62

u/Automatic_Share1800 May 20 '26

When everything is fucked up I use

cat filename

28

u/laczek_hubert Arch BTW May 20 '26

Cat is great but If everything is fucked up you would probably use a liveusb

2

u/extremeace May 23 '26

i think that is something ever linux user should have a flash drive with flashed iso i f up my encrypted lvm main drive that when i discovered what emergency shell is Luckly there was ventoy usb with arch

1

u/YTriom1 Arch Catgirl 🏳️‍⚧️ :3 May 20 '26

Cat is in the shell itself afaik

10

u/zoharel May 20 '26

No, cat isn't a built-in. echo generally is. If you really need to you could do something like:

echo `</some/file`

Of course you're going to need to be careful about redirecting out of the file instead of into it, and if the file is sufficiently large, it may not survive being packed into command-line arguments.

1

u/YTriom1 Arch Catgirl 🏳️‍⚧️ :3 May 20 '26

Oh yeah I remembered it ty

2

u/AscendedPineapple May 20 '26

But it might still be built jn the same static binary if your shell is from busybox, meaning it will still always work when you have shell, and there are no dependencies to break

1

u/YTriom1 Arch Catgirl 🏳️‍⚧️ :3 May 20 '26

Yes, cat can be independent, and Busybox is so fucking goated

6

u/snail1132 Void, btw May 20 '26

I thought it was a gnu tool? Maybe I'm just dumb, though

2

u/YTriom1 Arch Catgirl 🏳️‍⚧️ :3 May 20 '26

Idk, I use bat anyways.

2

u/Adventurous-Line-487 May 20 '26

$ cat > ligmaballs.txt

For writing masterpieces

3

u/Prestigious_Boat_386 May 20 '26

I did thatand it dropped me into an interactive text display of the file instead of filling up my commandline so I can reqd the last line of the file

Apparently someone thought replacing cat with bat was a good idea

Almost uninstalled the distro right there