Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an AIX 5.3 and I need to point the /var/mylogs/trace directory at another /mydir/temp

When I use the symbolic link syntax;

ln -s /mydir/temp /var/mylogs/trace

In /var/mylogs/trace I get a directory named temp that links to /mydir/temp. So I need to use /var/mylogs/trace/temp to get to the temp directory. I need to redirect without the need for a further entry in the path.

cd /var/mylogs/trace should show me the contents of /mydir/temp

share|improve this question

migrated from stackoverflow.com Jan 2 '13 at 20:25

This question came from our site for professional and enthusiast programmers.

I solved it by renaming the old trace dir.

mv trace traceold
ln -s /mydir/temp /var/mylogs/trace
share|improve this answer

You must log in to answer this question.

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