0

I have got a question were I have to create a symbolic link named "new" to file /test/test1/test2. The current command I have is this:

ln -s /test/test1/test2 /new

I am not if there is a specific command which will create it in the current directory?

1
  • Can you try to explain your question more clearly?  For example, have you tried the command you have now?  What happens?  Why do you think you need more help?  Please do not respond in comments; edit your question to make it clearer and more complete. Mar 13, 2016 at 20:44

1 Answer 1

2

-With this you are just trying create a symbolic link at 'root' / - '/new', with the name "new" and this you can't do it like a simple user... "the rigths of write of folder 'root - /' not permite this!"...

the command:

ln -s /test/test1/test2 new

Just goes permite you create a symbolic link at the folder you are since you have permissions, to create files and folders in that folder!

1
  • 2
    yes. alternately, use ./new (with a dot) to place the new link in the current directory. Mar 14, 2016 at 2:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.