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)

0
votes
0answers
27 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 ...
2
votes
1answer
72 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 ...
20
votes
3answers
86k views

Help with creating a symbolic link

I'm confused with how symbolic links work. I hope someone can guide me in the right direction. I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put ...
0
votes
1answer
162 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
30 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 ...
1
vote
3answers
113 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 ...
9
votes
2answers
95 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 ...
0
votes
0answers
16 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 ...
2
votes
2answers
55 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 ...
-1
votes
0answers
21 views

Symlink to plugin

I need to help, iam using on minecraft server plugin, player servers. This creating in ONE folder, MORE FOLDERS, like "data". All folders have spigot.jar, and others plugins folder etc.. I want ...
6
votes
3answers
442 views

Nautilus: Visited directory via symlink, now I can't go one level up in the target directory hierarchy

I created a shortcut via "make link" option. When I enter to this shortcut's folder I can't see any folders above it so I can't easily navigate to them. Is there a way to go one folder up in the GUI? ...
40
votes
7answers
164k views

How to remove symbolic link

I was trying to create this symbolic link: sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but I accidentally typed: sudo ln -s /usr/share/php,yad,in /var/www/phpmyadmin So now I want to ...
0
votes
0answers
33 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 ...
5
votes
2answers
21k views

Symlink /var/www directory

I have been trying to create a symlink: /var/www -> /home/USER/code/ Following http://stackoverflow.com/questions/9104337/create-a-symbolic-link-of-directory-in-ubuntu , I entered the following ...
0
votes
1answer
18 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
9 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
0answers
519 views

How to solve linking problem to build a project?

I'm trying to run "make all" to build a project, and keep getting error CXX/LD -o .build_release/tools/compute_image_mean.bin /usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to ...
0
votes
1answer
18 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
92 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
611 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 ...
0
votes
0answers
15 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 ...
5
votes
3answers
7k views

How do I share a directory between an LXC container and the host?

How can I share a folder between the host system (ubuntu 14.04) and an ubuntu lxc container? I tried mounting the folder on the host: sudo mount --bind /media/data/share ...
1
vote
0answers
24 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 ...
219
votes
8answers
305k views

What is the difference between a hard link and a symbolic link?

As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my ...
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
29 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
14 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
133 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
50 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
21 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
30 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.
3
votes
1answer
2k views

Creating a symlink from one folder to another with different names?

I have to folders, one of which is my webserver root. I want to link it to my project folder so that I can keep things up-to-date with Git. If I try to do this: ln -s /home/user/project ...
7
votes
3answers
20k views

How to configure apache2 with symbolic links in /var/www/?

I want to setup a local web server on my Ubuntu (14.04). So I installed all software to get a LAMP server. The problem is that I do something wrong with creating my virtualhosts. I wanted to create ...
0
votes
0answers
114 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
82 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 ...
3
votes
0answers
50 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
1answer
108 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
1answer
49 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 ...
0
votes
0answers
19 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
0answers
32 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 ...
0
votes
3answers
2k views

What is “link to executable”?

What is "link to executable" ? I'm trying to understand what "gcc" is. If I open Properties of it in Unity UI it says "link to executable". I googled it. Tried following commands link readlink ln ...
16
votes
3answers
46k views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga ...
0
votes
2answers
44 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
51 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
157 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
92 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 ...
0
votes
0answers
70 views

Symbolic link, samba share, Ubuntu 14.04

I am a Unix dabbler at best, I would appreciate some expert help. I have upgraded one of my machines from 12.04 to 14.04 and lost a path to a windows samba share. On a 12.04 machine I have a samba ...
1
vote
3answers
49 views

How do I find all custom-created symbolic links in the entire system?

I've created several symbolic links in different places. I can't really recall where each one of them is in the system and I've already removed programs they are associated with. Is there a script / ...
1
vote
1answer
64 views

Meaning of “b” and “c” in file privileges description (output of ls -l)

Basic question regarding the ls utility. What do letters "b" and "c" mean at the beginning of the 10-symbol code describing the item privileges ? From what I understand, when typing ls -l, the ...
7
votes
1answer
5k views

How to create a read-only link to a directory?

One of my scripts dynamically creates a symlink like so: ln -s /home/hosting/projects/images /home/hosting/projects/demo/images How can I make it so that the access through link is read-only?