Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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