Symbolic link or symlink is a special type of file that contains a reference to another file or directory as an absolute or relative path. For most operations, symbolic links are transparent and the read or write operations on symbolic link files are redirected to actual files i.e the files that ...

learn more… | top users | synonyms (1)

4
votes
3answers
176 views

How to find the symlink of a program [on hold]

When running firefox, /usr/bin/firefox, I know its symbolically linked to another program but I don't know how to find the symlink of that program. Any help?
0
votes
2answers
19 views

Unknown ending in a transferred file name

I've used rsync to transfer a file from a local machine to the remote. The intended way of destination was /usr/share/nginx/html, however in the file name there is an additional line mentioning a ...
0
votes
1answer
29 views

Cannot edit my.cnf file /etc/mysql/ directory because it is a symbolic link. What can I do?

I'm trying to configure mysql but when I type: sudoedit /etc/mysql/my.cnf it says I cannot edit a symbolic link. Can I remove the symbolic link or change the security settings to allow a ...
0
votes
0answers
9 views

Deleted symlink can no longer log in

I have Ubuntu 14.04 and I made some symlinks for wine, which it kept deleting, thus stopping me being able to install programs. So with my limited knowhow, I tried to change the attibutes for the ...
0
votes
0answers
13 views

remove all npm links

I've linked few projects together and I'm getting some unpredictable behavior, so I want to remove all links and "start fresh" I've googled this for a while and can't seem to find something that ...
3
votes
1answer
17 views

Default number of links for directory?

I know that hard link can not point to directories but when i create an empty directory and execute stat command for it links=2 ,I search for symbolic links There is not another link. why for ...
0
votes
0answers
13 views

Cannot link external hard disk to Ubuntu server

I want to link NPTEL folder from USB external hard disk to Ubuntu 12.04 web server. I use this command ln -s /Seagate Backup Plus Drive/NPTEL /var/www/html/NPTEL but it doesn't work and gives the ...
0
votes
0answers
22 views

Symlinks for Pictures, etc. foldes on Touch OTA11

I installed insync to sync GDrive and now want all the folders to sync - for this purpose I created symlink from ~/Pictures to ~/InSync/Google Photo but suddenly Gallery and Camera won't work anymore ...
1
vote
1answer
54 views

Which one: moving /home or making symlinks in regard to SSD efficiency

My whole Ubuntu installation including /home is located in an ext4 partition on an SSD drive. I'm going to move archives and document files (which are almost all inside the home folder) to an external ...
1
vote
1answer
23 views

Use symlinks for zero downtime web delopyment

I have a big website where all the files are in the public_html folder. Here's the structure : -public_html/ - app/ - public/ - vendor/ - index.php - test / - app / ...
1
vote
2answers
33 views

http2.load is a dangling symlink

I have just upgraded my Google Compute Engine to Ubuntu 16.04 lts and now cannot get apache2 to restart! I first ran sudo apache2ctl configtest and got this: apache2: Syntax error on line 140 of /...
2
votes
0answers
72 views

In 16.04 has symlinks changed in how to create them?

I installed 16.04 for arm and all old symlinks previously created on 14.04 were fine. But I tried to create a soft link in 16.04 the same way I did in 14.04 and the link points back to itself in a ...
0
votes
0answers
28 views

failing to create symbolic link - file exist error [duplicate]

Im trying to make a link to clion so i don't have to use the full path every time. I used the following command: ln -s /home/oarzi/Public/clion-2016.1.2/bin/clion.sh clion and got the following ...
1
vote
1answer
106 views

Create a symlink in /dev using /etc/udev/rules

I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab: Create and implement a rule on your system that will create a symlink ...
-1
votes
1answer
63 views

Why does Ubuntu 12.04 64bit recognize a symlink as a binary file?

I have two files. One file has the name gcc and is a shell file. Another file has the name g++ and contains data like this: "!<symlink>ÿþg c c" I can run the shell file gcc but the file g++ ...
1
vote
1answer
47 views

SYMLINK in udev rule

I created a udev rule named "/etc/udev/rules.d/75-myusb.rules". The only thing inside it is this line: SUBSYSTEM=="usb", SYMLINK+="myusb" After creating it I plugged a USB drive and a file named ...
0
votes
0answers
31 views

Make directory look like partition in file-managers

I have made directory in my ~ directory for storing my working files, with name work, added there symlinks to Documents, Downloads, Pictures and such. Now I want to make it look in the system as ...
0
votes
1answer
492 views

ln to run .sh file in another directory

Thanks in Advance. I have a .sh file that works fine. It lives in ~/Downloads/SampleFolder/this.sh. I want to ln to create a link to it in my ~/ folder, but when I do, I get an error that it can't ...
0
votes
0answers
47 views

Menu in LXPanel

I'm using latest version of LUbuntu with LXPanel 0.8.2. "Directory menu" in LXPanel is very useful feature, but it would be even more amazing, to improve functionality, by adding the ability to ...
2
votes
1answer
95 views

Symlinks to Windows folder breaking

I've got a folder of my work on my Windows partition, which I still use from Windows sometimes, so I can't just move it to my Linux partition. So I've made a symlink (both with ln -s and by right ...
0
votes
0answers
25 views

Upstart not resolving symlink

I have my server.conf in a web project and I have symlinked it to the /etc/init directory like so. $ ln -s /var/www/[mysite]/system/server.conf /etc/init/server.conf The config file is fine, the ...
9
votes
2answers
123 views

Make Folder a symbolic link to two folder?

I would like to have Ubuntu's default music folder /home/$USER/Music to act pretty much as a library would in Windows. Essentially it would be a virtual folder containing the contents of other folders....
1
vote
1answer
48 views

Link broken but when “ls” is used on link in terminal the content is displayed

I noticed an interesting fact today. I have a link on my Desktop pointing to windows partition (dual boot Ubuntu 14.04 & Win8.1). Because this partition is not automatically mounted the link is ...
0
votes
1answer
20 views

What does the black arrow under the bin GUI icon represent?

Today I noticed that most bin/"executables" don't have the black arrow right of the bottom-of-the-logo-diamond, but a few do. From the ones i've seen, I think they're programs that are currently ...
2
votes
0answers
10 views

How to properly share a directory with an another group member? soft-link / hard-link

My scenario is simple. I am working with another team members, and I want to share my directory with others. I created a symbolic link of the shared directory in their home directories. ln -s ~/...
0
votes
1answer
25 views

Set suplicity to do not follow symbolic links

Currently duplicity supports (...) symbolic links (...) but not hard links. http://www.nongnu.org/duplicity/duplicity.1.html It is not clarified but most likely it means that soft links are ...
2
votes
1answer
213 views

Does dropbox sync hardlinks?

I have a folder of large files. I want that folder to be in two different places at once - my Home documents, and my College documents folder. I've done this with a symlink in the College folder to ...
8
votes
2answers
653 views

How do I delete the target of a symbolic link without deleting the link itself?

I have a symbolic link ~/Desktop/test.txt which points to ~/rendu/test.txt. I know ONLY the path of ~/Desktop/test.txt, I want a fast way to delete ~/rendu/test.txt WITHOUT deleting the symbolic link....
0
votes
2answers
85 views

How to circumvent hard link creation permission to directories on the same file system

I'm well aware of the difference between symbolic and hard links. I'm also aware of the dangers of creating hard links to directories. Nevertheless, I'm insisting on creating a hard link to a ...
0
votes
0answers
18 views

Symbolic link automount

I created a symbolic link on my desktop to a directory in a different partition. When I unmount the partition, clicking on the link won't automount the partition, but it will if I click the icon on ...
1
vote
0answers
30 views

I created symlinks between windows and ubuntu (ext4) partitions, and I think it's causing havoc, how do I hunt them down and remove them?

I want to remove all symlinks between my ntfs and ext4 partitions. Is there a simple way to find them, and then remove them? I am using windows 7 and 14.04. I believe I used them to force my dropbox ...
0
votes
1answer
17 views

Why the directory name was parsed wrong?

I want to link /var/www/html/wp to /windows/wamp/www/wp. ln -s /var/www/html/wp /windows/wamp/www/wp ln: failed to create symbolic link ‘/windows/wamp/www/wp/wp’: Operation not permitted Why /...
1
vote
0answers
32 views

Symlink in VBox Shared Folder are not properly formatted

I have my c:\ partition shared to VM using Virtual Box Shared Folder. It is currently mounted as /c on the Ubuntu guest. Lets suppose c:\html points to c:\Server\html on the Windows host. When I try ...
0
votes
0answers
15 views

Symbolic relative link created in Windows contains backslashes when mounted as ntfs

I created a symbolic link, after having booted Windows 7 64 bit on my machine that dual boots with Ubuntu 14.04 LTS Desktop 64 bit, using command tool as administrator, entering (where target is a ...
4
votes
2answers
214 views

Seamless integration of Windows software in Linux

Before I describe what I am trying to do, I want to make clear that I have about 10 years of experience with Linux OS and Ubuntu and a lot of experience with VirtualBox. This is not for me but for a ...
1
vote
0answers
77 views

Files lost after tar command

I had a symlink called st and I wanted to compress it into a tar.gz archive. I ran the command: tar zcf st.tar.gz st The resulting archive st.tar.gz contains only a link to an empty folder called ...
0
votes
0answers
34 views

Nautilus doesn't work but gnome-open works when opening links on Windows partition

I made a bunch of symbolic links to files on my Windows partition (like link_to_stuff -> /media/uname/Windows/stuff*) and put them on desktop (/~/Desktop/link_to_stuff). After I rebooted, the ...
0
votes
0answers
45 views

Open file in vim using symbolic link

I have symbolic link in current directory that points to text file. How to open file in vim using that symbolic link? command vim linkname not works.
0
votes
0answers
160 views

ln: failed to create symbolic link ‘/lib/systemd/system-sleep/displaylink.sh’: File exists

I'm trying to install the displaylink driver 1.0.355 to be able to connect another display to my laptop. I had an older version of this driver before but erased it. I downloaded the driver and it ...
1
vote
1answer
96 views

Create a link to a folder in Windows partition

I have a little problem. In my laptop, I have 3 partitions, one for Windows 10, one for storage and one (plus swap) for Ubuntu 14.04. Windows partition can't be reduced much, so I've created some ...
0
votes
1answer
87 views

Symlink does not work for dropbox

I am backing up home folder by create a symlink in dropbox. What I did: cd ~/Dropbox mkdir backup && cd backup ln -s ~ What I checked: ln -l. The symlink is created. The dropbox folder ...
3
votes
0answers
59 views

Cannot delete files

I've got my documents directory mounted on a separate partition from /home (/mnt/data) and linked symbolically. If I try to delete anything from ~/Documents via the GUI the window simply closes and ...
0
votes
0answers
21 views

/opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79

I am running google, but get error /opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79: cannot open shared object file: No such file or directory I find ...
0
votes
1answer
125 views

How can I automatically create a link on the desktop or in $HOME when USB Stick is mounted?

How can I create(and remove if unplugged) a symlink to the mount-point of a newly plugged-in USB-device on the desktop or in the $HOME of the systems guest-account?
0
votes
0answers
46 views

launcher icon problem

I have some application like Arduino, Fritzing and Processing js, each of them needs to go to the download directory and write ./arduino,./processing... in terminal to open them. I found a way to make ...
1
vote
3answers
216 views

Editing ~/.config/user-dirs.dirs does not permanently change user directory locations

So it appears the same is happening to me on Ubuntu 14.04 as has previously been reported as a bug here A difference though is I am trying to move the Home directory folders to a separate drive and ...
0
votes
2answers
46 views

Help with symlink

I accidentally changed permission to 000 on symlink: /lib64/ld-linux-x86-64.so.2 In effect ubuntu 15.10 can't execute any bash command (binary). In this situation chroot from live cd is not ...
0
votes
0answers
68 views

Symlink not working

I am trying to link java plugin to Opera. I have tried all sorts of methods. These are Opera's instructions for after JRE's installation: So that Java will be discovered, type the following ...
1
vote
0answers
269 views

rsync doesn't resolve target symlink to directory

I'm using ssh to connect to a remote machine. In my home directory there, I created a symlink to a mounted directory, as you can see below: username@hostname:~$ ls -l lrwxrwxrwx 1 username users 69 ...
1
vote
2answers
126 views

update-alternatives arguments - <link> and <path> can't be the same

I want to add vimb to the default browsers in x-www-browser. I don't see it in update-alternatives --config x-www-browser, so I think I have to --install it. After some time spent in reading man ...