Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

5 Deadly Terminal Commands in Linux

Terminal is powerful than Command Prompt. It won't ask your confirmation if you type a deadly command. Newbie linux users can be easily fooled by these code spreading as trolls via internet. So you must be aware of these code that will destory you computer.

1.  rm-rf / 
this code deletes everything on your computer. This formats everything possible including Hard drives and connected storage devices.
rm - deletes the following files.
-rf - deletes all the files and folders inside a particular folder.
/ - this instructs rm to start from the root where all your files are located.

2. :(){ :|: & };:
this one is a kind of virus that defines a shell function. It has the ability to replicate itself to many copies which may then eats up your cpu time and memory.

3. mkfs.ext4 /dev/sda1
this one is same as formatting C drive in windows. this will format your first partition and replace them with a new file system.

4. mv ~ /dev/null
This code makes your home folder disappear. in other words will move your home folder into a black hole. 
mv - means to move folder or file.
~ - this indicates your home folder as a whole.
/dev/null - Destroys everything.

5. dd if=/dev/random of=/dev/sda 
This code copies junk files in to hard drive.
Continue Reading

How to create a Bootable USB Stick for Ubuntu.

Recently I've Downloaded the latest Ubuntu 13.04 Disc image file. For burning purpose, I went to a nearest store to buy DVD but, there is no stock there. Its really inconvenient to buy CD that is out of stock, A better way is USB stick and Most newer PCs supports USB booting.











Requirements.


1 USB Stick with atleast 2GB Free Space.


Steps.


1. Insert your USB Stick.


2. Download Universal USB Installer from here.


3. Select your Linux Version from the Dropdown list.




4. Now from the second step, Browse for your Ubuntu .iso file.














5. From the third step, Select your USB. (mine J:\Spike 14GB)















6. You're almost done, now click on Create button.

7. A dialog Box Appears, Click Yes.















8. Now you're USB will be processed to be a Bootable USB Stick.















You Can format your USB to make it the way it was.

Continue Reading