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)

94
votes
8answers
129k 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
0answers
12 views

Running Quake with Darkplaces from symlink, id1 folder not recognized

I'm new to Linux (have only been using it for a few days) and am using Ubuntu 14.04. I've been a Windows user my whole life, so there are a lot of things I'm getting used to. One example: symlinks. ...
3
votes
1answer
3k views

Symbolic link permission denied, shared folder over cifs

I have synology rack , and im using one folder from my ubuntu 12.04. but I wont be able to create a symbolic link on mounted folder, getting permission denied error, below is my fstab entry ...
0
votes
0answers
17 views

how to run “acpype” program?

If I want to open this program, I am giving "acpype" in the terminal and getting the following error: sslab1@sslab1-ThinkCentre-Edge72:~$ acpype bash: /usr/local/bin/acpype: Permission denied What ...
1
vote
1answer
20 views

Link to NTFS partition broken after reboot [duplicate]

I've created a link to a folder located on a NTFS partition, in the same HDD where Ubuntu is installed. After rebooting, the link says it's broken (the link shows a lock icon to the lower right and ...
0
votes
3answers
45 views

Shortcut to execute shell scipt? [duplicate]

I'm trying to create a shortcut that will run a .sh file deep in some directory without having to navigating to the absolute path. I have tried using aliases, which did not work as. Using soft/hard ...
0
votes
1answer
21 views

How to install ACPYPE and fix the error in Ubuntu 14.04?

I wanted to install acpype in ubuntu 14.04 and I followed the comments given in ubuntu program installation guide: I have followed the following commands. acpype go to the directory in which you ...
1
vote
0answers
39 views

Symlinks: Can't create one because file exists, cant remove it because there is no such file

I posted this already on stackoverflow and it was suggested I ask here... I am running ubuntu 14.04 in vagrant on a windows 7 pc. I am running VirtualBox and git bash as administrator. I've created ...
0
votes
1answer
33 views

Link to Windows desktop gets broken [duplicate]

I mount C:/, and I create a link from my Ubuntu desktop to Windows desktop. However, when I restart the computer, mount C again, and double click on the link, I get the error message This link cannot ...
4
votes
4answers
286 views

How can I find the difference between a folder and a folder link in Ubuntu?

Earlier, I had created some links to another folder using the following command. sudo ln -s path_name link_name These links are looking similar to the folders. I am not able to differentiate ...
0
votes
0answers
13 views

Creating Mediawiki issue

Im right right now in the middle of creating Mediawiki on Ubuntu 12.04.4 LTS for client and i'm having some troubles doing that. I managed to establish accessible Mediawiki instance in apache but i ...
2
votes
1answer
909 views

Symlink error “This location could not be displayed”

Just upgraded to 14.04 (and it wasn't super easy, had a number of issues to fix...) I have a few external hard drives with video files. In my ~/Videos/ directory I had symlinks to those drives ...
0
votes
1answer
270 views

Messed up with libudev files and now I can't boot

So I wanted to test cgminer on ubuntu and I was getting an error message about missing libudev file so in a rush I tried to read a few answers on here but instead of fixing it, I just messed up things ...
8
votes
3answers
3k views

How do symbolic links work in Dropbox?

I made some links to files in a folder. When I added that folder to Dropbox, the links contained duplicate copies of the files linked to. Have you had this problem? Do you understand what is ...
0
votes
0answers
91 views

Start MATLAB R2014b by clicking icon in Kubuntu 14.10

After installation of Matlab 2014b on Kubuntu, I've created symbolic link to matlab.sh. And now when I start it in Konsole by matlab or ./matlab it works fine. But if I launch it by clicking on file ...
0
votes
0answers
35 views

Racket installation: What should be the ideal response to this installation question

I am trying to install racket on my Ubuntu 14.04. Downloaded the .sh file from http://racket-lang.org/download/. Ran sudo install into a desired folder(eg. ~/Documents/racket/). Entered ...
-1
votes
1answer
38 views

How to link to php from xampp installation so i can just use php command instead of full path?

I have xubuntu installation and xampp installed on my pc, and everything works great, but lately i am experimenting a little bit with laravel framework and a lot of tutorials and people just use php ...
1
vote
1answer
102 views

how to find symbolic link for a specific file

i want to know how to find if a certain file has a symbolic link to another file? the LN command # ln -s /etc/kannel.conf /etc/kannel/kannel.conf how to confirm this symbolic link?
15
votes
2answers
1k views

How can I stop Nautilus from dereferencing symlinks? [closed]

I use symbolic links to tidy my home folder. This works well in the terminal, since the links create the illusion of normal folders: In Nautilus, however, the links behave more like Windows ...
4
votes
3answers
2k views

Can't use symlinks in local /var/www directory

I'm setting up my local LAMP server, and when I go to it, I can't follow symlinks with the Apache user (www-data). At this point, I've tried chowning and chmoding and I've added Options ...
2
votes
1answer
91 views

Why can't I follow symlinks when I use the file system gui, but in terminal everything works fine?

I've decided to go with the dedicated home/data partition way of doing things for my first multiboot configuration, and for that reason have a bunch of symlinks linking to where I've mounted that ...
91
votes
3answers
218k views

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
0
votes
0answers
12 views

Make mplayer2 use libass5 instead of libass4 via symlink

Can I make a symlink to libass5 to make mplayer2 use it instead of libass4 (which is currently depending on)? If yes, then How? And will I use symlink to replace the entire directory of libass4 or ...
2
votes
1answer
91 views

Behaviour of symlinks

I successfully and not successfully created a symlink: I have two directories ~/foo and ~/bar Now I have a file called baz.txt in this path ~/foo. My aim was to create a symlink in ~/bar so I ...
0
votes
0answers
87 views

Libreoffice writer: hyperlink to another document does not work

I have some files (*.doc, msword 2003) with hyperlinks for crossreference. Those files open on libreoffice, but only local targets (within the same file) work. I've tried to remove and recreate ...
2
votes
1answer
698 views

force cp to copy on dangling symlinks

Is there any way to force cp (Bash 4.2.5, Ubuntu 12.04) to copy onto a dangling symlink? cp a-file path/to/danling/symlink/a-file cp: not writing through dangling symlink ...
1
vote
1answer
25 views

How to create link that can be followed in SFTP?

SFTP jails the user into his home dir. Let's say I have two users. What if I'd like to share files and folders between them both?! Is there a way? Is it possible through links? I tried out with ...
0
votes
1answer
30 views

removing shortcut created during deb installer, at uninstall

In the deb package, I have created a desktop shortcut to the application blah.postinst: #!/bin/sh cp /usr/share/applications/blah.desktop ~/Desktop/ chmod 777 ~/Desktop/blah.desktop using dpkg -r ...
0
votes
0answers
32 views

Help creating a simple DEB installer

Installing my app is a relatively simple process, I just need to copy a few files onto the target machine. I've got a simple DEBIAN/control file, and the files I need to copy in the right ...
8
votes
4answers
44k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
1
vote
1answer
41 views

Creating the $LFS tools Directory

i am working on LFS, and getting this error creating symbolic links. i checked this link but no help, also googled but nothing works. # ln -sv $LFS/tools / ‘/tools’ -> ‘/mnt/lfs/tools’ in root ...
0
votes
0answers
51 views

Nautilus shows different permissions (than `ls`) for linked directory

I'm using Ubuntu 12.04 and i have changed one of my folders permission . when i do ls -al in that directory it shows me : total 48 drwxr-xr-x 6 root root 4096 Nov 3 05:14 . drwxr-xr-x 30 root ...
6
votes
2answers
6k 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 ...
1
vote
1answer
52 views

Automatically create links symbolic links between directories, creating one uber directory

I have one directory, folder1, that I have shared via samba. I have another directory, folder2, that is not shared, but contains a lot of subfolders that I do want to share. When a user connects to ...
4
votes
2answers
2k views

How to find the final target of a daisy-chain of symbolic links?

I needed to issue several commands to follow a chain of symbolic links to the final target. Is there a command which will do it in a single step? which updatedb /usr/bin/updatedb ls -l ...
0
votes
1answer
23 views

What's a good pattern to use to create desktop shortcuts pointing within network shares?

I have a samba share set to mount in /media/foo when I boot, and on my desktop I have some symlinks pointing to locations within this share. If my network flakes out, the symlinks report as broken, ...
0
votes
0answers
90 views

join linux home folders with Active Directory userprofiles

I have just set up a network using Samba and Kerberos. As we wanted users to be free to decide whether they wanted to use windows or linux, we currently store userprofiles (windows) and home folders ...
1
vote
2answers
1k 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 ...
1
vote
0answers
174 views

Lubuntu 14.x - no create link or shortcut menu on right click

I have to use good old ln -s command to create a desktop short cut. I am on Lubuntu 14.x running LXDE There is no right click menu on the folder tree that means : right click --> create desktop ...
0
votes
1answer
149 views

Debian installer does not create desktop/launcher link

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
0
votes
1answer
38 views

Symbolic links for video files doesn't play the video

Dear Folks, ln -sn Videos/vfile.mp4 Documents/Symlink/ creates a symbolic link but I couldn't play the video using vlc. What is the catch?
1
vote
1answer
144 views

Trying to resolve “Cannot open shared object file libudev.so.0”? Getting too many levels of symbolic links problem

I was trying to solve the problem highlighted here: But whenever I execute ln -s libudev.so.1 libudev.so.0 or even ln -s libudev.so.0 libudev.so.1 I get Too many symbolic links error. I know ...
10
votes
1answer
1k views

Is it okay to use symbolic links in my web server?

I have the following directory setup: /var/www/html and /home/tim/Website/files_here The folder html is actually a link to /home/tim/Website. This means all my Website files are in my home area ...
0
votes
1answer
63 views

Link to shell script does not run from a different location

I have an application created using Lazarus. I can run it from the terminal like this: ./myapp para Now this file is currently in a home folder. So I created a shell script like this: #!/bin/sh cd ...
0
votes
4answers
171 views

Creating a symbolic link to a directory

I have a directory to which I want to create a symbolic link. The commands I used were: cd workspace_b4a cd android-sdk-linux ln -sv build-tools/20.0.0/lib/ platform-tools/lib The output was: ...
5
votes
6answers
8k views

How to list all symbolic links in a directory

I have a symbolic link in my /var/www/ directory that links to WordPress. When I run the command ls -la from the /var/www/ directory the link to WordPress doesn't show up. Is there a way to list all ...
1
vote
1answer
35 views

Charles breaks when run through a symlink

Charles proxy is installed right now in /opt/charles. Running /opt/charles/bin/charles starts Charles successfully. Now I want to add it to my PATH. ln -s /opt/charles/bin/charles ...
0
votes
0answers
199 views

Fixing installation of bower and grunt

I have screwed up installation and now when I do: bower install I get the following: bash: /usr/local/bin/bower: /usr/bin/env: bad interpreter: Too many levels of symbolic links How do I fix ...
0
votes
1answer
516 views

Symbolic link to resolv.conf strange behaviour in Ubuntu 14.04

I recently upgraded my PC to Ubuntu 14.04. I then experienced major problem in DNS resolution that did not work anymore. I finally found the following: in /etc, there is a 'resolv.conf' wihich is a ...
0
votes
0answers
15 views

Has the behavior of links to wine apps changed since 14.04?

Since the update to 14.04 LTS my links to wine programs have been acting strange. It's like the file is run from the location of the link and not from its installed folder. Opening a link from inside ...