Wednesday, May 18, 2011

scp command to transfer directory

Suppose I want to transfer the 'book' directory from machine 'x' to machine 'y'. Be in the machine 'x', in the parent directory of the 'book' directory, then type the following command:


]$ scp -r book kbhaskar@IP_y:/home/bhaskar

Give password and enter.
ifort lapacktest.f90 -L/opt/intel/Compiler/11.1/
072/mkl/lib/em64t -lmkl_intel_lp64  -lmkl_sequential -lmkl_core -lpthread

Wednesday, March 23, 2011

sftp

I am in one machine, say 'x'. I want to ftp files from this machine to another machine, say 'y'.
1) Be in machine 'x' in the directory from which you want to copy the files.
2) Now type:
    sftp kbhaskar@ipy (ipy is IP address of 'y'.)
    It will ask for password for 'y'. Give it.
3) The following prompt comes up:
    sftp>
    Type in the pathname of the directory in machine 'y' where you want the files to be copied with the 'cd' command:
    sftp> cd 'pathname'
4) mput filename
    Above command will transfer the specified file from machine 'x' to machine 'y'.

Sunday, November 21, 2010

Constructing an ellipse

Cut a sheet of paper into the form of a circle. F2 is the centre of the circle. F1 is an arbitrary point. Now fold the circle so that some point on the circumference coincides with F1. The crease thus formed is a tangent to an ellipse with F1 and F2 as its foci. More such tangents, and you're left with a pretty ellipse!

Thursday, November 5, 2009

1) J4 and J1 values
2) Hole in orb. AF
3) 4-dim basis
4) Magnon softening
5) Jahn-Teller effect
6) Pseudo gap in onset of orb. ordering.

Sunday, August 9, 2009

Some Linux commands (for fedora 11) and notes on my OS

It's a 32-bit Fedora 11 installed on my system.

Below are some commands for searching and installing softwares on the system:

1) export http_proxy="http://username:password@vsnlproxy.iitk.ac.in:3128"
(the http:// after the '=' may not be required)

The above command connects you to the users outside of iitk.

2) yum search player

The above command gives a list of the players available for playing video files. (mplayer etc.) One can also try out dcpp in the same fashion. Works only for free software.

3) yum -y install kmplayer.i586

The above command installs kmplayer.i586 in my computer.

yum -y update This command gives the updates (to which softwares?)

**********************************************

The command for running matlab is:

/opt/matlab7.4/bin/matlab &

***********************************************

This is how to use scp:

kbhaskar@phypc2:~$] scp ./kbhaskar/CMP/orbital_ordering/onset/orb_fluc/further/piavg_.m kbhaskar@172.28.72.29:~/.

Explanation: I am in phypc2, root directory. I am copying the file piavg_.m from phypc2 into the computer with IP address 172.28.72.29. My login ID is kbhaskar on both computers.

This way I don't need to open a mozilla browser and email the file each time I want to get the file from that computer into my present computer.

*******************************************************************************

Sunday, December 21, 2008

An oriental/Arabic sounding scale:
e f g# a b c d# e (ascending)

Improvising in the scale starting from c: C7,Em (largely, though Am may also be used, and even Ebm)

Improvising around d#: B

The G and D chords also may be used, but judiciously, to release the tension. G sounds good with Em, and so does D, but don't mix all three chords together.

Try Dm also.