Jump to content

symlink to a target directory [solved]


Recommended Posts

I'm can not create a symbolic link to a directory. I have read, and re-read the man page. I can not get it right.

 

What is the trick?

 

I have tried:

ln -s --target-directory=linux-2.6.33.7-desktop-1mnb 
ln: missing file operand
Try `ln --help' for more information.

 

Operand is missing? O.K. so I tried,

ln -s --target-directory=linux-2.6.33.7-desktop-1mnb linux

This didn't work as I expected either. It created a link called 'linux' in the target directory, not in the directory I was in.

 

I need a command that will create a sym link to the target, called linux, in the directory I'm in. The old link is pointing to the wrong source for the current kernel, and I can not get vboxdrv to compile.

 

Your help is always appreciated...

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...