I have my code mounted as an sshfs in my home directory, but the hierarchy is difficult to remember, so I created a symlink in my home directory leading to that directory.
Can someone help create a symbolic link where I append my own string to the name of the link?
I am new to Linux & looking forward to start application (which toggles a led every 10 sec).
I have written the application program & it is working fine but now I want to start it automatically on boot.
The documentation here says to copy the startup script to the /etc/init.d directory and make a symbolic link to the copied script in the rc.d directory.
What should be the extension and n
I have a symbolic link to a file in one directory. I would like to have that same link in another directory. How do I copy a symbolic link?
I tried to cp the symbolic link but this copies the file it points to instead of the symbolic link itself.
Hi,
I am trying to tar a directory structure. but unable to do due to a symbolic link. Please help
Code:
indomt@behpux $ tar -cvf test.tar /home/indomt
a /home/indomt symbolic link to /dxdv/03/ap1dm1
Thanks
Quote:EDIT: the /home directory already exists. Can I make a symbolic link to/from a directory that already exists?In ... [by TrevorH]
Say under directory /usr/local/boost_1_52_0/stage/lib, I have a symbolic link: libboost_timer.so, which points to the regular file libboost_timer.so.1.52.0 in the same directory.
How can I cp the symbolic links to directory /usr/local/lib while pointing to the same file /usr/local/boost_1_52_0/stage/lib/libboost_timer.so.1.52.0.
I have searched and tried several options.
Say under directory /usr/local/boost_1_52_0/stage/lib, I have a symbolic link: libboost_timer.so, which points to the regular file libboost_timer.so.1.52.0 in the same directory.
How can I cp the symbolic links to directory /usr/local/lib while pointing to the same file /usr/local/boost_1_52_0/stage/lib/libboost_timer.so.1.52.0.
I have searched and tried several options.
It seems that for many basic functions operating on symbolic links, the physical path is used by default. However, cd works fine. When moving into a symbolic link, cd remembers where I came from so it is utilizing the logical address for the symbolic link (see related post for an example: symlinks and cd).
Functions like ls only partially work this way.