tags:

views:

84

answers:

5

Hello,

I am trying to symlink a file, a compiled kernel source needs to be sym linked into /home/build/basebuild/kernel.

Does anyone know how to do this?

Thanks

Hi again,

I have written this code where the first path is the folder I want link into and the second path is the compiled source. Is this correct?

'ln -s '+basebuild+'/IpDome-kernel/kernel /home/build/sandbox/gen2/basebuild/IpDome-kernel/kernal '
+1  A: 

ln -s /path/to/file /path/to/symlink

hsz
+1  A: 
ln -s target linkName

You can have a look at the man page here:

http://linux.die.net/man/1/ln

ruibm
+2  A: 
ln -s TARGET LINK_NAME

Where the -s makes it symbolic.

cyborg
+1  A: 
ln [-Ffhinsv] source_file [target_file]

    link, ln -- make links

        -s    Create a symbolic link.

    A symbolic link contains the name of the file to which it is linked. 

    An ln command appeared in Version 1 AT&T UNIX.
The MYYN
+1  A: 
ln -s EXISTING_FILE SYMLINK_FILE
codaddict