Today I have won 1 euro. I challenged my friend to close the CD drive and he didn't even know he was cheating with the help of bash.
The script is very simple. It simply consists of putting the command ejector within an infinite loop. All you have to do is copy the following code in the terminal and press enter.
while [1 = 1] do eject done
My friend narrowly and the unit loads when trying to force it to stay closed, so be careful if you want to do the test
Another curious use of the CD drive
If you are a lazy parent, this technique can be very helpful.
El bash script sleep babies:
while [1 = 1] do #eject cdrom eject #pull cdrom tray back in eject -t done
Source: labnol.
Ummmm the infinite loop has many utilities, like opening a program many times and fucking a friend. hehehe
That's right ... 🙂
jajjaaj great !!
haha great
EpicWin!
The truth is that this troll I never thought could work that way.
Anyway, how will you do to get rid of the script?
Ctrl + C, I don't know if you mean that xD
Ctrl + Z can also work.
hug, pablo.
And to a remote pc or our LAN? XD
cool: fsjal
now I'm missing the baby 😀
Hahahaha fun, I've seen that video a long time, I leave the "one line" version
$ while true; do eject; done
Even shorter ...
$ while :; do eject; done
I hope the code comes out hahaha
Good! Thanks for optimizing it!
Hahahaha .. that's good.
… And then they ask how did my recorder break?….
I find the file a bit ingenious ... excellent !!!!
My respects !!! CHEERS !!!
alias eject = 'eject -t'
Headache guaranteed for a long time…. Hehehehehe