4 languages that can kill themselves
DynamicSquid (3231)

4 files, each with a different language. Each file will call the next file, and then commit die. Like this:

run main.py
kill itself

run main.rb
kill itself


Basically how this works is each file calls 2 shell commands, one to run the next file, and one to commit toaster bath. The bash command to commit skydiving without a parachute is rm FILE_NAME.

I also added brief comments on how the shell commands work in each language so you might learn something.

I'm just bored.

You are viewing a single comment. View All
xxpertHacker (380)

Nice job using Bash and figuring out how to access the shell from these languages!

But this is definitely not worth the upvote, lol. :/
(Hmm... not worth reporting either though)

DynamicSquid (3231)

@xxpertHacker lol yeah this isn't the best I can do, but I got really bored at night so I thought I'd do some quick playing around. didn't even expect this to get 3 upvotes lol. I literally got on today with 40+ notifications