Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

 
discard

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.