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)

1
vote
1answer
11 views

why is there more than one python 2 command in ubuntu 12.04?

so while playing with some aliases I realized that there are three python commands (without taking into account the python 3 commands) in the terminal: python python2 python2.7 So my question is ...
1
vote
0answers
14 views

Simple way to delete a file and all its links (simultaneously)

I found a lot of questions on how to delete symlinks only, or delete symlinks based on their contents, but no one has asked how to do what I want to do. Take the following example file-l -> ...
0
votes
0answers
2 views

Ubuntu Aquaris E4.5 symlink

I have an Ubuntu Aquaris E4.5 phone and looking for and easy way of transferring multiple photo's from the SD card to my linux PC. I have installed WifiTransfer which uses a file ...
1
vote
0answers
13 views

How to find files with idone not referenced by any directory

Okay, some time ago I found what seems to be a bug in nautilus. /tmp$ mkdir test/ /tmp$ mkdir test2/ /tmp$ echo "very important stuff" > test/important-file.txt /tmp$ cd .. /tmp$ ln -s /tmp/test/ ...
1
vote
1answer
29 views

When would you want to use a Hard link instead of a soft link? An example to help Understand the difference

I have read lots of posts on What is the difference between soft and hard link but still am a bit vague on the difference. I wonder could somebody give just one or two example(s) of when you would ...
0
votes
2answers
15 views

Can you Link *Hard or Soft* to a directory and change the names of the files linked

So here's the scenario. I have a file torrent that gets updated and its so big its on a different disk, what I would like to do is create a link to where it would normally go if it wasn't so big and ...
0
votes
0answers
11 views

Move files preserving symbolic links

I have some files on an external hard drive, to which I keep soft symlinks in my home folder (many links, not just one). I need to move some of the original files to another hard drive, and I want to ...
-1
votes
1answer
30 views

opt command not working [LLVM]

My linking looks broken. It's showing below error. $ opt The program 'opt' is currently not installed. You can install it by typing: apt-get install llvm and apt-get install llvm-3.6 shows that: ...
0
votes
0answers
21 views

XPDC1 make error

I am coming across an error when making this software. I have already installed xgrafix, xoopic, xpdp1, and xpdp2. I believe it is solvable by linking but I am unsure on how to do that. These are all ...
0
votes
0answers
26 views

Can't get symlinks working

I'm trying to get symlinks for a Typo3 installation to work. My way to do it: cd /var/www/application/htdocs ln -s /var/www/application/typo3_src-7.4.0 typo3_src Check with ls -l lrwxrwxrwx 1 ...
0
votes
2answers
34 views

set shortcut for executable program from terminal

I installed a program and I want to create a shortcut. e.g. I want to type eclipse into the terminal to launch the program. I already copied the eclipse folder in /home/user/Programs and created ...
0
votes
1answer
14 views

Linked Files in LD_LIBRARY_PATH statement not working

Is there some magic to ensure that Link files work when part of a PATH statement? I have an app that is looking for /opt/Qt/5/gcc_64/lib/libXmlPatterns.so.5 The above file is a link to a file in ...
2
votes
3answers
166 views

Error 'File is a symlink to a non-existent target'

While working through two active buffers in Emacs, sum.cpp and template.cpp, I accidentally shut down my laptop (Ubuntu 15.04 (Vivid Vervet)) without closing Emacs, and without saving these two ...
0
votes
0answers
13 views

Recover Directory Links

I've just erroneously launched this command: rm -R symbolic_link_to_dir and now if I go to DIR I can't see the content folders anymore. Fortunately if I enter with my FTP I can see all of the ...
0
votes
1answer
34 views

symlink to already existing directory

Is there a proper way to link /home/user/app/public to /home/user/public_html, considering the fact that the target already exists? If I do ln -s /home/user/app/public /home/user/public_html, I end ...
2
votes
5answers
365 views

Why not design having the softlink (symlink) and hardlink in the same “link”?

I haven't used hardlinks for a long time and never really needed them until I was asked in an interview. I read their difference from symlinks here: What is the difference between a hard link and a ...
1
vote
0answers
41 views

Back up symbolic links (not the files they link to) with Dropbox

Dropbox follows symbolic links. Apparently this is useful. But I have a folder with very large data files I do not wish to back up online. I have physical backups for it. However, I have various ...
1
vote
1answer
33 views

Linux Headers and Updates

If I create a symbolic link from linux-headers in /usr/src and then an update comes along where my uname -r output changes, does that symbolic link get updated as well? Or do I have to switch the ...
0
votes
1answer
40 views

Broken links after kernel upgrade

After running: sudo apt-get update && sudo apt-get dist-upgrade And upgrading my kernel as well as some other stuff and then running this twice with a reboot after each running: sudo ...
2
votes
0answers
24 views

Symlinks dont work after restarts— then restarting nautilus fixes it

I'm having some problems with soft links that direct to folders in a partition I'm using to share files between Ubuntu and OSX. When I first set everything up it all worked perfectly, but after a ...
2
votes
0answers
29 views

Symlink problems with OSX dual-boot

I'm having some problems with soft links that direct to files in a shared partition I'm using to share files between Ubuntu and OSX. When I first set everything up it all worked perfectly, but after a ...
1
vote
0answers
36 views

Lubuntu DropBox and symbolic link abook.mab

I have my thunderbird address book stored in a drop box for cloud storage. abook.mab file in the dropBox is symbolically linked to thunderbird using; TERMINAL Prompt ~$ ln -s ...
7
votes
3answers
506 views

What does the “size” of a symlink represent in ls output?

I'll start by example: $ ls -l dir1 total 4 -rw-r--r-- 4 maythux maythux 1650 2008-01-10 16:33 file lrwxrwxrwx 1 maythux maythux 7 2008-01-15 15:17 symfile -> file symfile is a symlink of the ...
13
votes
2answers
763 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
13 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 ...
0
votes
1answer
72 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?
0
votes
0answers
25 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
106 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 ...
2
votes
1answer
80 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
46 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, ...
2
votes
1answer
123 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
56 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
11 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
2answers
55 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
32 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
125 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
78 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
1answer
80 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
28 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
29 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
113 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
81 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
20 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
14 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
104 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. ...
0
votes
0answers
59 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
69 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
141 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 ...