Sunday, February 20, 2011

Recovering your Firefox Bookmark

Windows:
1> Goto : C:/Application Data/Mozilla/Firefox/Profile/../Bookmark backup
       save this profile folder to some other location.
2> After reinstalling Mozilla again copy Bookmark backup to same location
3> Open Mozilla -> Open Bookmarks tab -> click on Organize Bookmark -> goto import and backup tab -> restore ->add file.

Similarily in Ubuntu      

Saturday, February 19, 2011

Check the version of shell

1> echo $SHELL   (Since it is an environment variable)
    /bin/bash
2>/bin/bash --version
   this will give the version of shell as output.

SSH

SSH : is know as secure shell used to secure remote login over insecure network.
You can login to other machine, assuming ssh server is running on machine you want to login.
1> install ssh (sudo apt-get install ssh)
2>remote login:
     - Let us say remote system is: bharatj@nsl-32.cse.iitb.ac.in or bharatj@ipaddress
     - Write on terminal as follows:
     - ssh bharatj@nsl-32.cse.iitb.ac.in
     - Ask for password (enter your remote system password)
     - Now you are on remote machine which can be seen as
     - bharatj@nsl-32$ (terminal prompt)
     - Now you can browse through the contents using cd etc commands.

Copying file from remote machine to local machine:
1>Write command on terminal as follows:
     scp bharatj@nsl-32.cse.iitb.ac.in:sourcepath/source-file destination-path
     For ex: source path is /users1/pg09/bharatj/Desktop
                 source file is tracker.c
                 destination path /home/bharatj/Desktop
     So after this tracker.c will be copied on local machine on desktop location.

                     
Copying directory from Remote machine to Local machine:
1> Write on terminal :
      scp -r bharatj@nsl-32.cse.iitb.ac.in: /users1/pg09/bharatj/Desktop/experiment /home/bharatj/Desktop
     This will copy directory experiment from remote machine to local machine on Desktop.

Note: scp -------------- for file transfer
          scp -r -------------for directory

Copying file from Local machine to Remote machine:
1> scp file.pdf bharatj@nsl-32.cse.iitb.ac.in:/users1/pg09/bharatj/Desktop
      This will copy file file.pdf from Local machine to remote machine on Desktop.

Copying directory from Local to Remote Machine:
1>scp -r MTP bharatj@nsl-32.cse.iitb.ac.in:/user1/pg09/bharatj/Desktop
    This will copy directory MTP from local machine to Remote machine Desktop.

To find Ip address and other information of your machine through terminal

1> open terminal
2>ifconfig

Monday, February 14, 2011

youtube downloader in Ubuntu

1> Go to fire fox add ons and install download helper from here here
2> Install it (by double clicking when saved on pc)
3> Go to view tab -> toolbar ->customize. and then select download helper icon and drag on toolbar.
4> Open you tube and scroll down arrow in download helper it will save the file.

For more click on this video

Sunday, February 13, 2011

Moving Window buttons to right on Ubuntu

1> press Alt + F2(function key)
2> type gconf-editor and click run
3> click + button in apps option and then navigate to metacity
4>go to button layout and make changes

refer : here  for more information.

Saturday, February 12, 2011

wine

wine is basically used to run windows application on linux.
install wine using sudo apt-get install wine

*goto setup and write wine setup.exe