Hi all,
Just subscribed to this forum. Not a regular user of Unix.
I did the following:
We have a directory structure /a/b/c5/
Where c5 is the only directory inside b.
export ANOOP=/a/b/c*/
echo $ANOOP=/a/b/c5/
I have to create a symbolic link to anoop.txt in the directory /a/b/c5/d/.
ln -s $ANOOP/d/anoop.txt $ANOOP/d/anoop1.txt
ln: creating symbolic link `/a/b/c*/d/anoop1.txt` to `/a/b/c5/d/anoop.txt` : No such file or directory
When I tried echoing "$ANOOP/d" the whole path was printed(/a/b/c5/d), however when i tried to echo a non existing file in the same path it couldnt convert c* into c5. Which might have been the issue for the above link issue also.
echo $ANOOP/d/anoop1.txt=/a/b/c*/d/anoop1.txt.
Could any of you help me figure out any way to tackle this particular issue.