Results 1 to 4 of 4
I created a symlink to a directory. Now how to rename the symlink to something else pointing to the same directory....
- 05-10-2009 #1
how to rename a link
I created a symlink to a directory. Now how to rename the symlink to something else pointing to the same directory.
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-10-2009 #2Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
With the 'mv' command:
Code:mv oldsymlink newsymlink
- 05-10-2009 #3
I tried a cp on the symlink but it didn't work. I ll give mv a try . Thanks for replying dude
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-11-2009 #4
got the solution and it cleared my concepts too
cmd: cp linkname to newlink
note: when you type the linkname and press tab incase it's a dir link it will be appended with '/' where you will get a error. To rename a dir symlink simply remove the / form the end.Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu


Reply With Quote