Forum     

Go Back   Digit Technology Discussion Forum > News > Random News
Register FAQ Calendar Mark Forums Read

Random News Non-technology news that you feel members should know about. NOTE: Sources to be mentioned at the beginning of each post.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-11-2008, 11:17 AM   #1 (permalink)
In The Zone
 
Join Date: Mar 2006
Location: Dehradun
Posts: 285
Default Linux Commands that should be avoided


I am presenting some of the most fatal command in Linux, that could harm your OS within no time. Please don’t try these on your Linux distribution.

1. mv /home/yourhomedirectory/* /dev/null

It is a simple command that will move the contents of your “home” directory to a “null” directory (a directory that never existed), hence you will never see that files again.


2. ){:&};:

This command will execute a large number of processes until your system hangs. Also known as forkbomb, this command often leads to corruption of data.

3. mkfs.ext3 /dev/sda

This will simply formats the device that is mentioned after the “mkfs” command.

4. rm -rf /

And last but not the least, this command will forcefully delete all the files inside the “root” directory.

Source
__________________
=====================
http://mobiveda.com
vineetrocks2005 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-11-2008, 12:39 PM   #2 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,679
Default Re: Linux Commands that should be avoided

Well as for second one, I cant really put those smiley in there :/

And most of them are only fatal when used under root account.

Any day, it's a noob's delight to experience them accidentally or amusingly.
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 21-11-2008, 01:20 PM   #3 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: Linux Commands that should be avoided

Code:
$ mv T159 /dev/null
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 21-11-2008, 01:57 PM   #4 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: Linux Commands that should be avoided

2.
Code:
:(){:|:&};:
This command will execute a large number of processes until your system hangs. Also known as forkbomb, this command often leads to corruption of data.
gary4gar is offline  
Old 21-11-2008, 02:02 PM   #5 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,679
Default Re: Linux Commands that should be avoided

^^
func()
{
func | func&
}

func
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 21-11-2008, 02:41 PM   #6 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Linux Commands that should be avoided

Code:
#!/bin/sh

echo "Gautham is a n00b at bash scripting"

echo "Don't execute this command as root"
Try running it as root
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dos commands Lucky Rathod Software Q&A 2 01-04-2008 08:06 PM
Help: Dos Commands rishi1 QnA (read only) 2 26-08-2006 12:46 PM
RUN commands Raaza QnA (read only) 10 16-08-2006 10:01 PM
Can any one post basic LINUX commands.. //siddhartha// Open Source 8 25-05-2005 04:06 PM
Doom 3 , Half life advised to be avoided!! tarey_g QnA (read only) 7 01-12-2004 11:10 PM

 
Latest Threads
- by gohan89
- by abhidev
- by clinton

Advertisement




All times are GMT +5.5. The time now is 06:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2