I want to make a fork bomb with fishshell, but :(){ :|: & };: doesn't work and gives the error
:(){ :|: & };:
fish: Command substitutions not allowed :(){ :|: & };
How can I make a fork bomb with fishshell?
The syntax would have to be
function forkbomb forkbomb | forkbomb & end forkbomb
but:
What you can do is call fish manually, and define the function inside it:
function forkbomb fish -C "$(functions forkbomb)" -c forkbomb | fish -C "$(functions forkbomb)" -c forkbomb & end
Trigger it by running forkbomb. For obvious reasons this can bring your system to a halt.
forkbomb
Copyright © 2021 Jogjafile Inc.
The syntax would have to be
but:
What you can do is call fish manually, and define the function inside it:
Trigger it by running
forkbomb. For obvious reasons this can bring your system to a halt.