On Sunday 09 April 2006 14:34, Shriramana Sharma wrote:
A symlink is a special file that merely contains the path of another file. It can be created by the ln command.
Now is it possible to actually *edit* the contents of a *symlink* itself? I mean, I would like to change which file this symlink points to. Is the only way to do that to manually delete the existing symlink and create a new one? Is there no way to directly edit a symlink and point it to another file?
Start Midnight Commander with 'mc', go to the symlink, and press: <Ctrl>-X+<Ctrl>-S This is the command to create a symlink: <Ctrl>-X+S Of course it is possible to overwrite the symlink 'symlink_name' with: ln -sf <new_destination> <symlink_name> The 'f' option means force. Use with care! ;) Cheers, Leen