This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Symlink question

 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have dir1 and dir2. I created a sym link for scripts folder which is in dir2 in dir1. Now, I am unable to access the scripts in dir2 using the symlink in my dir1.

say the script name is runcodes.pl How do I run it?

Thanks.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arjun,

it depends from where you want to start the script ;-)

If you are in the same directory as the script you have to type ./runcodes.pl which is probably your problem. Besides this you can always give the absolute path name to the script (starting from the root /). Or you can use relative paths like ../../scripts/runcodes.pl.


Marco
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic