linuxmemes

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

trash, in which ones do you think I missed?

John Gruber created Markdown but Aaron helped and tested it.

Sprokes, in You should

Does it work on fish shell?

Public_Tumbleweed,

There is only 1 way to find out

auf,

and nushell?

dukk,

Doesn’t work in nushell, function syntax is different.

Probably still possible, just written differently.

Knusper, (edited )

What that garble of symbols does, is that it defines and calls a function named :, which calls itself twice.

The syntax for defining a function is different in Fish, so no, this particular garble will not work:
https://feddit.de/pictrs/image/65a6bb53-312f-401a-8823-ba94ada93433.png

But it is, of course, possible to write a (much more readable) version that will work in Fish.

ReveredOxygen,
@ReveredOxygen@sh.itjust.works avatar

you can write a more readable version in any shell, it’s intentionally unreadable

cashews_best_nut,

Unfortunately it works in zsh. I just had to kill my laptop after curiosity got the better of me.

Knusper, (edited )

Yeah, I meant, as an attacker, you couldn’t come up with a similarly unreadable version.

At least, as far as I can tell, defining a function requires spelling out function and seems to require being defined on multiple lines, too.

ReveredOxygen,
@ReveredOxygen@sh.itjust.works avatar

Oh, I see. That’s very nice then

affiliate,

But it is, of course, possible to write a (much more readable) version that will work in Fish.

the gentleman hacker

Karyoplasma,

The ampersand looks very weird in that font. It would bug me.

Knusper, (edited )

It hails back to the early days of the ampersand, from when it was basically still just Latin “et”: https://commons.wikimedia.org/wiki/File:Trebuchet_MS_ampersand.svg

Personally, I do like this font (Fira Mono+Sans), because it still looks professional, without being so boring that I get depression from looking at it.
But yeah, that ampersand is pushing it a bit, as I’m not sure everyone else knows that’s an ampersand…

Apollo2323, in which ones do you think I missed?

Oh wow Ian Murdock commit suicide :(

HubertManne, in which ones do you think I missed?
@HubertManne@kbin.social avatar

no one should be billionaires.

possiblylinux127, in which ones do you think I missed?

The creator of Vim is unfortunately no longer with us.

possiblylinux127, in You should

On a modern system it shouldn’t be that affected if you configure it right

Bizarroland,
@Bizarroland@kbin.social avatar

Sudo fuck my system. There. Got it.

possiblylinux127,

You laugh but you can configure a hard limit on forks.

DavidGarcia, in which ones do you think I missed?

Terry A. Davis

squiblet, (edited ) in which ones do you think I missed?
@squiblet@kbin.social avatar

It would probably ruin them and their work though. While I have little sympathy for the plights of billionaires, it's difficult for people to not allow that level of ridiculous wealth and power to affect them. These people have found a much healthier path to success. I'm sure the living ones are all financially comfortable without the ridiculous distortion of excess wealth.

Also though I'd object to anyone being a billionaire since it's absurd.

MonkderZweite, in You should

How did this one work again? It was something with piping in a backgrounded subshell, right?

huginn,

It creates a new process that spins up 2 new instances of itself recursively.

itsfoss.com/fork-bomb/

here’s a good explanation pulled from itsfoss.com

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

tom jones lesser known single

ook_the_librarian,
@ook_the_librarian@lemmy.world avatar

Goodness, gracious, fork bomb in bash

hexabs,

Thanks friend. One question, is it necessary to pipe to itself? Wouldnt : & in the function body work with the same results?

itslilith, (edited )
@itslilith@lemmy.blahaj.zone avatar

I may be wrong, but you could use : &;: & as well, but using the pipe reduces the amount of characters by two (or three, counting whitespace)

kablammy, (edited )

That would only add one extra process instance with each call. The pipe makes it add 2 extra processes with each call, making the number of processes grow exponentially instead of only linearly.

Edit: Also, Im not at a computer to test this, but since the child is forked in the background (due to &), the parent is free to exit at that point, so your version would probably just effectively have 1-2 processes at a time, although the last one would have a new pid each time, so it would be impossible to get the pid and then kill it before it has already replaced itself. The original has the same “feature”, but with exponentially more to catch on each recursion. Each child would be reparented by pid 1, so you could kill them by killing pid 1 i guess (although you dont want to do that… and there would be a few you wouldn’t catch because they weren’t reparented yet)

MonkderZweite,

Thanks, nice Infographic!

huginn,

Not mine, grabbed it from the link, but it’s a great explanation!

cashews_best_nut,

I just did this in zsh and had to power off my machine. :(

AnarchistsForDemocracy,
@AnarchistsForDemocracy@lemmy.world avatar

does this constitute a quine? I wrote a couple quines using bash but nothing as elegant as this

hikaru755, (edited )
@hikaru755@feddit.de avatar

Maybe I’m missing something, but I think this doesn’t print or otherwise reproduce its own source code, so it’s not a quine afaict.

AnarchistsForDemocracy,
@AnarchistsForDemocracy@lemmy.world avatar

thank you,

MacNCheezus,
@MacNCheezus@lemmy.today avatar

Correct. A quine is a program that prints its own source code. This one doesn’t print anything.

KISSmyOS,

And on a modern Linux system, there’s a limit to how many can run simultaneously, so while it will bog down your system, it won’t crash it. (I’m running it right now)

TheWoozy,

man ulimit

ininewcrow, in which ones do you think I missed?
@ininewcrow@lemmy.ca avatar

Aspiring to becoming and staying a billionaire requires a certain amount of psychopathy because it takes a certain mentality to want to own so much wealth that you’ll never be able to enjoy all of it in a lifetime while at the same time denying or taking away the wealth of others who might need it.

If I had a billion, I’d take a few million and live off the interest and give away the rest and not be bothered by anyone or anything ever again.

RoyaltyInTraining, in which ones do you think I missed?
@RoyaltyInTraining@lemmy.world avatar

How would they earn billions without getting the money from other people’s work?

cerement, in which ones do you think I missed?
@cerement@slrpnk.net avatar

agree with @avidamoeba, power corrupts – radix malorum est cupiditas

FartsWithAnAccent, in Accurate?
@FartsWithAnAccent@kbin.social avatar

No Mint?

cows_are_underrated,

Green Ubuntu

Littleborat,

Mint was just some protest distro against gnome shell or whatever window manager Ubuntu promoted at the time. 10 years Iater I use Ubuntu with gnome

Telodzrum,

That’s how it started, but now it’s the one that does everything Ubuntu claims to better and with more long-term stability.

tryagain,

It might be getting a second wind now as an escape from Wayland/NVIDIA and death by a thousand snaps. That was why I switched a few months ago; all I wanted was to play ETS2 on my old laptop, dangit.

fl42v, in Accurate?

Replace kali with nixos, and it’d be accurate 😁 Also, gentoo.

And Kali is more like “are you older than 13 → no”

cocolopez,
@cocolopez@lemmy.world avatar

Kali is pretty much debian with extra toppings

zalgotext,

Debian with metasploit pre-installed and some fancy shell presets

mlg,
@mlg@lemmy.world avatar

also that random github python script you will randomly need lol

uis, (edited )
@uis@lemmy.world avatar
callyral, (edited ) in Year of Linux on the Desktop
@callyral@pawb.social avatar

RIP Windows 7, long live Linux Mint Xfce

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #