"find . ! -name "*.bz2" ! -name "ESPRD*" | xargs rm"
The above command finds all files in the "current" directory excluding those with "*.bz2" extension and those which start with "ESPRD*" and then deletes them all.
Monday, December 14, 2009
How to add a new data file to Oracle Tablespace using sqlplus
First login as the "oracle" user, and issue the command "sqlplus "/ as sysdba"" (I am assuming that you already have configured the PATH environment variable correctly) and then type the following: alter tablespace tablespace_name add datafile '/oracle/data/file1.dbf' size 12G autoextend off; The above command adds a data file named "file1.db" of size 12 GB to the "/oracle/data" path with the autoextend feature turned off
Source: http://www.adp-gmbh.ch/ora/sql/alter_tablespace.html
Convert OGV files to AVI using mencoder
OGV is the default output for the "recordmydesktop" application in ubuntu, and I needed to convert it in order to use another software:
mencoder input.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi
mencoder input.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi
Saturday, December 12, 2009
Gwibber : Twitter & Facebook Client in Ubuntu 9.04
A very nice desktop application for feeds from twitter and facebook, don't use the one packed with Ubuntu 9.04 and use the one from the PPA instead:
To download the new version :

Gwibber can also handle Twitter, account creation is very easy.
Source: http://ubuntu.igameilive.com/2009/08/gwibber-facebook-client-in-ubuntu-904.html
To download the new version :
- open synaptic package manager
- go to Settings -> Repositories
- on the Third-party Software tab, click add and add this line :
deb http://ppa.launchpad.net/gwibber-team/ppa/ubuntu jaunty main - and then save this key and import it from Authentication tab to authorize it.
- after that reload synaptic package manager, and then search for Gwibber. Now it has the 0.9.2 version
- Account -> Create -> Facebook
- you'll have to Authorize Gwibber to use your Facebook account,
- just follow the three easy steps and you're in.

Gwibber can also handle Twitter, account creation is very easy.
Source: http://ubuntu.igameilive.com/2009/08/gwibber-facebook-client-in-ubuntu-904.html
Friday, December 11, 2009
How to set up HP printing on Ubuntu — HP Laserjet P1005
Some HP printers can use one of the drivers already installed by default in Ubuntu. In those cases, all you usually need to do is plug your printer into your computer, and Ubuntu will recognize it and prompt you to set it up. It’s super quick & easy. The HP Laserjet P1005 that I purchased needed something more. This is a good quality, small, quiet, and cheap ($75 shipped from Newegg) monochrome laser printer. It comes with drivers, Windows drivers of course, which do you no good with Ubuntu. I read that I needed hplip. Turns out that I already had hplip installed on my system by default (which will work for many HP printers), but it didn’t do me any good. I needed to download & install the newest version. Here’s how I did it…
Download the automatic installer file here, the sourceforge page for hplip. Once downloaded follow the instructions on the download page to complete the installation. It will download some more stuff, and then install everything. It will also configure your HP printer. Now you’ll have the HP Device Manager in the Accessories menu, and you’ll also have nice, smooth printing.

Source: http://howto-ubuntu.net/how-to-set-up-hp-printing-on-ubuntu/
Download the automatic installer file here, the sourceforge page for hplip. Once downloaded follow the instructions on the download page to complete the installation. It will download some more stuff, and then install everything. It will also configure your HP printer. Now you’ll have the HP Device Manager in the Accessories menu, and you’ll also have nice, smooth printing.

Source: http://howto-ubuntu.net/how-to-set-up-hp-printing-on-ubuntu/
Wednesday, December 9, 2009
Install Moblin 2.1 in Virtualbox
I faced a problem while trying to test the new release of Moblin (2.1) which is an OS primarily designed for netbooks. When trying to boot from the live image, I get an error message stating that the kernel is not supported and that I must have something called "pae" enabled, I googled around and found what "pae" is, it's a feature in the processor and is an abbreviation for "Physical Address Extension" and here is a brief description (not quite good though) http://wiki.answers.com/Q/What_is_pae, anyway here are the steps I used to get this .img file running in my virtualbox:
Enjoy :)!
- Download the .img file from the website
- Rename it to .iso
- Assign it in the storage (as a virtual ISO CD)
- Open the options for the virtual machine you've just created
- Click system -> Processor -> Enable PAE.
Enjoy :)!
Convert IMG files to ISO in Ubuntu
I searched and searched and then found what?? Just rename the file to .iso :D
Subscribe to:
Posts (Atom)