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?

  • 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


-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!

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .