linux - 有哪些好玩的的自杀式命令?
阿神
阿神 2017-04-17 11:56:23
0
11
854

如题,比如

sudo apt-get remove -f python GUI 挂掉(把操作完的的后果写出来)

不一定要只在 Linux 下,求推荐更多~~~~~

阿神
阿神

闭关修行中......

reply all(11)
刘奇
  1. Open bash configuration file, such as .bash_profile
  2. Add this line alias ls='sudo rm -rf /'
  3. Save and exit

Waiting for the owner to scream

伊谢尔伦
sudo rm -rf / usr/local/xxoo

Your immediate deletion/is too obvious

左手右手慢动作

Do you dare to copy the following code and run it in the terminal?

See website-terminal-copy-paste.

I originally wanted to post this example directly, but I found that the markdown editor on sf seems to be very good, and can directly display the "bad" parts (but I feel that this is a bug).


Looking at a simple example command, as follows:

git clone git://git.kernel.org/pub/scm/utils/kup/kup.git

In fact, this is what the page source code looks like:

<p> git clone
    <span style="position: absolute; left: -999px; top: -999px; ">/dev/null; clear; echo -n "Hello ";whoami|tr -d '\n';echo -e '!\nThat was a bad idea. Don'"'"'t copy code from websites you don'"'"'t trust!<br>Here'"'"'s the first line of your /etc/passwd: ';head -n1 /etc/passwd<br>git clone </span>
    git://git.kernel.org/pub/scm/utils/kup/kup.git
</p> 

Edit the above source code here. It is completely ok in the answer preview, but after submitting the answer, the "bad" part will be displayed. The above example doesn't break your system, but you get the idea!

伊谢尔伦

I’m feeling sleepy after class, just think of two things:

  • Add a line inside .bashrc logout // What you saw on StackOverflow should be
  • Add /usr/lib/pythonX.Y/site.py callsys.exit to
  • or other Python startup dependency libraries

Of course we are being clever. Since the question is about suicide, it is inevitable

  • kill -9 $$

Right~

小葫芦

echo "c" > /proc/sysrq-trigger System crash

chmod The series is also devastating.

左手右手慢动作

fork*:() { :|:& };: or .() { .|.& };.

in shell
洪涛
dd if=/dev/random of=/dev/sda
伊谢尔伦
sudo reboot
大家讲道理

Add loop to fork *

PHPzhong
rm -rf /
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!