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)

113
votes
8answers
155k 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 ...
11
votes
2answers
678 views

What is the Ubuntu equivalent of OSX `chmod -h` flag?

In OSX I can set the permissions of the symlink itself (instead of the thing it points to using the -h). From the man page: -h If the file is a symbolic link, change the mode of the link itself ...
0
votes
1answer
8 views

Which root paths (e.g., /lib) can never be symlinks?

VBox suggests an extremely inadequate default size for its root partition, so I had to create and mount a more realistic /dev/sdb1 to do anything useful. Despite that, / (/dev/sda1) is 96% full, and ...
-1
votes
0answers
16 views

creating symbolic link and define it into .bashrc

sudo su I have a directory (GAMIT) which includes source codes for compiling the software. GAMIT path: /home/sorbilene I created symbolic link from GAMIT directory to "gg" like that, ln -s -f ...
0
votes
1answer
19 views

How to execute a program from symlink [duplicate]

I have the following go program that runs with: ./hack/go/bin/wego How can I create a symlink to run this program with the command weather?
3
votes
2answers
3k 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 ...
2
votes
1answer
30 views

How to use a symlink in Apache Web Server

I Installed Apache2. In the the folder "var/www/html" I created a symlink to a different HDD that holds a number of movie files. My thinking is that it would be easy to access the movies through a ...
0
votes
0answers
16 views

creating symbolic link and get its place

creating link from GAMIT directory to gg; ln -s -f /home/sorbilene/GAMIT ~/gg then gg directory (involves all files of GAMIT directory) was created in /home/sorbilene. I tried to get the same place ...
1
vote
2answers
36 views

creating symbolic link and setting environment variables

I've compiled Gamit/Globk software from the source codes. The installation directory's path "/home/sorbilene/GAMIT". I need to create links and set environment variables to run the software without ...
0
votes
0answers
12 views

(Xubuntu) Symlinked wine doesn't open .exe?

I'm new to the site, and I've just created the account. Wine and I are having an issue right now. I'm booting Xubuntu from a Live USB and, therefore, have placed the .wine folder in another drive, ...
19
votes
4answers
2k views

What in /home would benefit from being on an SSD?

In Is a 40GB SSD practical to use for ' / ' Jorge describes how he symlinks directories in his /home that would benefit from being on an SSD. The directories he names are ~/.cache ~/.config ...
2
votes
2answers
1k 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 ...
2
votes
1answer
71 views

how to create a symbolic link that works relative to the working directory

consider the following : x/ ph/ file1.txt -> ./../file1.txt file1.txt y/ ph/ -> /x/ph/ (this is full absolute path of x/ph) file1.txt /y/ph is a symlink for ph folder ...
8
votes
3answers
52k views

Help with creating symbolic link

I'm a little bit confused with how the 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 ...
0
votes
0answers
34 views

How can I check for symlinks and hardlinks before a mv?

I need to attempt a large folder replacement on a legacy system. I would like to mv the orginal folder to a new location, replace it with another, but revert back on the original if the replacement ...
1
vote
2answers
132 views

Share a folder between host and ubuntu lxc container

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 ...
11
votes
5answers
60k 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 ...
4
votes
2answers
38k views

How to break or delete the symbolic link?

sudo ln -fs /usr/share/icons/Cyclone/cursor.theme etc/alternatives/x-cursor-theme I want to delete this link, as it seems to make some problems. Is this done by deleting cursor.theme file or what ...
0
votes
1answer
47 views

Is it really possible to properly create a bootable USB of Ubuntu from Windows?

I was trying to create a bootable USB of Ubuntu from Ubuntu when some symbolic links errors appeared, which I explained in this question. There was no valid answer what these errors are, nor are they ...
0
votes
0answers
17 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 ...
0
votes
2answers
25 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 ...
0
votes
0answers
10 views

Symbolic link to Windows partition breaks at restart [duplicate]

I have a dual boot between Windows 8.1 and Ubuntu 14.04LTS. I can access my Windows partition from Nautilus as if it were a device, so I can make a sym links in my Ubuntu environment that point to ...
0
votes
0answers
22 views

Symbolic link that leads to one directory when writing, but another when reading

For my specific case, I am running a minecraft server on a SSD. I want to store one set of game files on the SSD so I can have a fast load time, but auto-backup to my HDD so I don't wear out the SSD ...
2
votes
1answer
45 views

How can I set a symlink from /tmp/mysql.sock?

I've tried to set a symlink from /tmp/mysql.sock -> /var/run/mysqld/mysqld.sock however whenever I try to do it using the following command: sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock ...
0
votes
1answer
45 views

“Trick” AeroFS to synchronize outside AeroFS folder without symbolic links

I am trying to have a backup copy of my laptop files using AeroFS. AeroFS creates a folder in your home directory (similar to Dropbox) and syncs anything inside of it. I would like to sync folders ...
4
votes
5answers
11k views

Cannot transfer file due to “Filesystem does not support symbolic links” error

When I want to transfer files from my local hard drive to my thumbdrive, I keep getting this error: Filesystem does not support symbolic links. I don't know what this is, I need help with ...
4
votes
1answer
57 views

Does Windows recognize symlinks created under Ubuntu?

Before, I dual installed Ubuntu 12.04 and Windows 7. They shared a Windows ntfs partition by mounting the partition under Ubuntu. I don't remember if the symlinks created under Ubuntu could be ...
1
vote
1answer
20 views

How can I link two directories so that edits in one directory are reflected in the other directory?

I have a website,Foo, running on Apache. Foo's files are in the /var/www directory /var/www/foo Recently, I switched to developing with WebStorm. My webstorm directory is WebStorm_Projects/. I ...
0
votes
0answers
18 views

Is there a way to mount a windows share as a Symbolic link using Ubuntu 14.04

Is there a way to mount a windows share as symbolic link so that a mounted drive does not appear on the sidebar under network using Ubuntu 14.04.
0
votes
1answer
57 views

is sh a symbolic link to bash? [duplicate]

I am new to Ubuntu. I want to know if sh is a symbolic link to bash. Similarly, if "/usr/bin/awk" is a symbolic link to gawk and if "/usr/bin/yacc" is a symbolic link to bison or a small script that ...
0
votes
0answers
33 views

Installing Python Module with Boost

I am trying to install a computer vision program via python setup.py install but it returns /usr/bin/ld: cannot find -lboost_python-mt-py26 Now I run the following command dpkg -l ...
1
vote
1answer
17 views

Building a Python Module Problem

I am having the following issue and am not sure how to fix. I do not know what linking is but I hear it's related to the problem. I'm trying to set up a python module: First I call in the directory ...
0
votes
0answers
11 views

Best way to execute script from another linux user on the same system

I've set a script to be running on subdomain.domain.com mostly for security by isolation reasons. I need to include some output of it at domain.com. The thing is it uses ajax and hence cross-domain ...
0
votes
1answer
23 views

SymLink for “/home/martin” in another disk of same machine

I'm looking for a solution for the problem like below. What ever file or DIR that i put in /home/martin DIR, should land in /home-extended/martin DIR. Reason behind this, is /home DIR has only 2 GB ...
0
votes
0answers
57 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
29 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
51 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
84 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
59 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
94 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
55 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
308 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 ...
2
votes
1answer
1k 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
303 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
146 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
55 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
79 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
118 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?