Sunday, June 24, 2012

Multimedia & Video Howto on Ubuntu 12.04

The easiest way to get  most of the media format  working on ubuntu 12.04 is to enable  medibuntu repository and install  couple of extra packages.

  This can be done quickly as follows.
Copy the following line to a command prompt
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo sed -i "/^# deb .*partner/ s/^# //" /etc/apt/sources.list && sudo apt-get --quiet update && sudo apt-get -y --force-yes --quiet --allow-unauthenticated install medibuntu-keyring app-install-data-medibuntu apport-hooks-medibuntu && sudo apt-get update
Then install the packages.

sudo apt-get install ubuntu-restricted-extras non-free-codecs p7zip-rar acroread gimp inkscape blender smplayer vlc libdvdcss2 libdvdread4 faac faad audacious rubyripper cd-discid aacplusenc gtkpod lame cdrdao aacgain flac mp3gain normalize-audio vorbisgain arista soundconverter gnome-sushi exfalso winff devede openshot audacity cheese synaptic gconf-editor lsb-core

Saturday, June 23, 2012

Dangerous commands you should not try

   I was browsing through Ubuntu forums when I saw this list of dangerous commands. I am copying them for my own reference.  Don't  try them out.

 1)  Delete all files, delete current directory, and delete visible files in current directory.
rm -rf /
rm -rf .
rm -rf *
2) Reformat. This command will reformat your hard disk ( you may need superuser permission to run)  


3) Block device manipulation . These commands manipulate underlying block device. ( here also you may need root permission)

any_command > /dev/sda
dd if=something of=/dev/sda

4) Forkbomb : This will  spawn a number of processes and eventually your system will hang. ( This works for bash shell )