Tag Archives: linux

scp command in linux to transfer files from one server to another

To transfer your files from one server to another use following command set. login to the server to which you have to copy the files(i.e. destination server) scp user1@server1:/full/path/to/source/file . Press enter it ll ask for the source server password.Provide … Continue reading

Posted in Linux, developer | Tagged , , | View Comments

Mysqldump on linux

Hi I am storing few linux commands for my own reference. 1) create tar file tar -cvf destination_folder_name source v indicates verbose. 2) mysql dump / mysql back up The most simple way is to issue this command: mysqldump -u … Continue reading

Posted in Linux, Technology, developer | Tagged , , , | View Comments

Restore Panels In Ubuntu Back To Their Default Settings

Hi All, I was updating my ubuntu 10.04 with some security patches. Everything worked fine but in between I messed up with my ubuntu top panel, and some of the icons went missing. I tried adding them using “add to panel” option, but I did not find it usable. As I don’t remember the default sequence of icons. Even after adding all of them it was looking weird.

So I started looking out for options which can reset my both panels (top & bottom). This what I found, hopefully some of you may find it useful.

NOTE: It worked for me on ubuntu10.04, I personally have not tested it on any other distro. Though It should work as expected.

Following commands would do the trick.

gconftool-2 --shutdown

(Note: There should be no spaces between the two dashes before shutdown.)

EDIT – My friend has suggested a better method instead of shutting down gconfd. Instead use the following command (thanks !)

gconftool --recursive-unset /apps/panel

(Remember: There should be no spaces between the two dashes before shutdown.)

Then enter the next command:

rm -rf ~/.gconf/apps/panel

And enter one more command:

pkill gnome-panel

That’s it! All the best. Continue reading

Posted in Technology, developer | Tagged , , | View Comments