Friday, May 7, 2010

Ubuntu Sudo command

========sudo open file browser, and then Ctrl+H to show hidden files
gksu nautilus

========Clean up past installation of Flash:
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper


========install flash (Shockwave flash 10)
When you go to a site by firefox that requires flash you will see a bar appear with a button on the right side labeled “Install Missing Plugins”.Choose the Adobe version and click Next. You will then be warned that the Adobe Flash Player will download and install another application. This is okay. You will be required to enter your user password to continue.

OR

sudo apt-get install flashplugin-nonfree

========map iphone
mkdir /mnt/iPhone
mount.fuse.ifuse --afc2 /dev/hda /mnt/iphone/ -s

========current running kernel version
uname -r

========create symbolicLink dir1 into dir2
ln -s /dir1 /dir2

========list all of the usb devices
lsusb


========.tar.gz Source Installation/Compilation
tar -xzvf /home/bob/compressedfile.tar.gz
./configure
make
su
make install

========Binary install tar.gz
tar -xzvf /home/bob/compressedfile.tar.gz

========.Binary install tar.bz2
tar -xjvf /home/bob/compressedfile.tar.bz2


========Support RAR
sudo apt-get install unrar

========Install DEB OpenOffice
sudo apt-get remove openoffice*.*
tar -vxzf filename
cd OOo_inst_folder/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb

No comments: