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
1answer
69 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
950 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: ...
1
vote
1answer
70 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 ...
23
votes
7answers
73k 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 ...
10
votes
1answer
3k 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
853 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
1answer
211 views

How can I make a link that NTFS supports?

When I make a link so that someone can access a file over the network directly, and then copy it across, I get the following error: There was an error copying the file into ...
1
vote
2answers
49 views

Symlink are using both locations?

I've researched and didn't find any answers, so I decided to ask here. The /dev/sda2 disk of my WHM/Cpanel webserver got 100% full. The /var folder is on the /dev/sda2 disk and I've found that the ...
1
vote
0answers
444 views

Why can I compile against libclang-3.5.so and not against libclang.so?

I am trying to compile a C source file, that needs to be linked against a dynamic library I installed through apt-get (libclang.so). apt-get installed the clang shared libraries in ...
0
votes
2answers
111 views

Finding full path of a symlink'ed file (more quickly)?

Under Properties dialog window: Link target: the path of the original file is always shortened, due to a programed restriction of characters space, even after resizing the window, and therefore of ...
2
votes
1answer
203 views

Circular symbolic link in /var/www/

I am running apache2. I am trying to make a symbolic link from my project location to apache's /var/www/, where it pulls the files to host. Inside my project directory myProject, I ran: sudo ln ...
0
votes
1answer
444 views

Create a working link on desktop

I am totally new to Ubuntu/Linux and I want to create a link on a desktop (is this called an application launcher?). I created a .desktop file placed on the Desktop with this content but it doesn't ...
1
vote
1answer
5k views

How to create symbolic link to apache document root?

My apache document root locate in /var/www and i created a directory called testwp on /var/www. I changed some privileges sudo chown -R $USER:$USER /var/www/testwp sudo chmod 755 /var/www/testwp ...
2
votes
1answer
1k views

I broke software updater by making python3 default

I tried to make Python 3 the default Python version by running: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 This broke Python 2 programs, so I tried reversing the ...
-1
votes
2answers
79 views

How to identify broken symlinks?

I have more than 1000 icons in a single directory and also there are hundreds of shortcuts (symbolic links?) inside that directory with different names, some of symbolic links are broken, i need to ...
0
votes
1answer
1k views

Wine: Install Windows Program for Multiple Users

I'm trying to install programs through wine so that it's available to all users. Reasons are obvious: save space and I don't like the idea of doing separate multiple installations of a program for ...
0
votes
1answer
232 views

How do I make symlink to Desktop work correctly at startup on Ubuntu 14.04?

I have symlinks to Desktop, Documents, Downloads, Pictures, Music, and Videos which link to a second hard drive. I am mounting the other hard drive through /etc/fstab. All the links work on start ...
0
votes
1answer
33 views

Link/merge pictures folder across all users? [duplicate]

What I want to do is, link/merge folders /home/user1/Pictures /home/user2/Pictures so that all the family photos can be stored in a single location and be easily accessible from every user ...
1
vote
1answer
151 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?
10
votes
2answers
2k views

Symbolic links: why are they so bad?

Why is using symbolic links to change the default python version on Ubuntu considered as being unsafe ? I read this information on several forums but did not find an answer as to why is this so.
3
votes
2answers
1k views

Symbolic links vs Windows shortcuts?

What are the differences between symbolic links in Ubuntu and Windows shortcuts? Are they analogous concepts? Or is there something in Ubuntu that resembles more Windows shortcuts?
0
votes
2answers
775 views

How to fix symbolic links after switching from Bash to ZSH

I had bash as my default shell even though I was only using zsh. I always started it myself by opening the terminal and typing zsh. Today I decided to use it as my default shell. So I found this ...
2
votes
1answer
3k 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 ...
1
vote
3answers
10k views

how can I symlink my home folder from another drive?

More specifically, I want to have the user folder for my home account another disk that has more space, but keep my other smaller accounts on my ssd. I was able to copy my user folder to another disk, ...
0
votes
1answer
426 views

dd will NOT recognise my sdcard ie “no such file or directory” it is seen by all other routes gparted,df,lsusb,blkid,,,so on

xubuntu 12.04-32 I am trying to build a bootable sdcard for my tablet and everything is ready but "dd" will NOT recognise any of my sdcard(s) 2Gb micro sd,8Gb or 32Gb
1
vote
0answers
143 views

Replace link for pictures in Nautilus “Places” with symbolic link to an external or other internal drive? Ubuntu 14.04

I have many pictures and when I open Shotwell it takes a very long time to load. I can see the Shotwell window and the progress bar though I do not see the thumbnails until after the indexing is ...
1
vote
1answer
117 views

Symbolic Link Error with MySQL Cluster and Ubuntu 12.04

I want to install MySQL Cluster on Ubuntu and I followed this tutorial Install MySQL Cluster on Ubuntu 12.04 LTS. My management node installed successfully, but I am having a problem in my database ...
0
votes
1answer
480 views

Desktop link to file on second hard drive broken after reboot

I'm using a second hard drive to hold most of my data files. Links to files and folders on the second drive from all locations on my first drive, where Ubuntu 14.04 is installed, work, except that ...
2
votes
1answer
231 views

Is Dropbox going to always resolve my symlinks?

I have one folder within my Dropbox directory, and a link to that folder, also in my Dropbox directory. I use the files within my Dropbox folder on a laptop and a desktop computer. I thought that ...
2
votes
1answer
90 views

How can I make home's documents, pictures, videos, downloads to point their matching windows folders in a mounted ntfs partition?

I'd like ~/Downloads, ~/Documents etc. to be mapped (or mounted..? or linked..?) to my matching windows folders (my ntfs partitions are auto-mounted at /mnt). In other words, what I want is that each ...
5
votes
2answers
5k views

How to make Guest OS follow symlinks from shared folder

I have Ubuntu Desktop as my main OS and Ubuntu Server as my Guest OS. I created a shared folder called /shared and put in it several symlinks to different folders across my main OS. Of course, my ...
2
votes
1answer
99 views

vi/vim/view /etc/alternatives loop

I wanted to understand the difference between the executables vi and vim. which has led me to /usr/bin/, and there I've found the following symlinks: /usr/bin/vi -> /etc/alternatives/vi ...
1
vote
2answers
485 views

ln: the symbolic link “/documents” could not be created: The requested function is not implemented

Why I can't create a symbolic link in a webdav folder? In a normal folder is it working. ln -s /home/argonist/Dokumente/ ./Dokumente
0
votes
1answer
111 views

moved /usr and /home and broke it

I was doing this (i did "the hard way") to move both /home and /usr to the same partition on another drive with more space than I have on my SSD. When I renamed /usr all my icons and links broke and I ...
3
votes
1answer
57 views

Move a file and all of its symlinks

For the icon themes I'm developing, I have different files with a different number of symlinks placed in different folders. Here is an example of one of them: FlatWoken/FlatWoken/scalable/apps$ find ...
0
votes
1answer
97 views

Directory /etc/X11/X is empty! Login directs to tty

I have Ubuntu 12.04 lts and my pc is down for a long time. Not like with hardware. I have asked a few questions about this. Here are their links. ctrl+alt+f7 and ctrl+alt+f8 not changing back into the ...
1
vote
2answers
2k views

How to create symbolic link to a directory excluding certain files?

I want to create a symbolic link from my home directory to Dropbox, excluding Videos. This is what I know: ln -s /home/pt/ '/home/pt/Dropbox' What should I do? What will happen if I'd like to ...
1
vote
1answer
76 views

Is symbolic link to ~/something dependent on logged user?

if I run command: ln -s ~/user/relative/path /absolute/path and then log under different user, that does not have user/relative/path in it's home directory, will the link be somehow broken or ...
1
vote
1answer
281 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 ...
3
votes
1answer
206 views

Inconsistent parent directory of all symlinks

A large portion of my system depends on symbolic links, so this is a very serious problem. I do something like the following cd mkdir test mkdir other cd test ln -s ../other/ # So ~/test contains a ...
2
votes
1answer
124 views

Shortcut to return realpath of the symlink?

Is there any shortcut to return actual path of the symlink? like : I have created a symlink in home $ cd $ ln -s /home/usr/workspace/helloworld/datadir datadir $ ls -l lrwxrwxrwx 1 usr usr 10 ...
27
votes
3answers
54k views

How to find and list all the symbolic links created for a particular file?

I had created many symbolic links on various paths for a particular file or a directory. I want the whole list of created symbolic links paths (location). Example: I created symbolic links for ...
0
votes
1answer
398 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 ...
0
votes
1answer
307 views

symlinks broken burning ISO to CD

For a while now I'm having the strangest problem, which has turned a stack of about 10 CD-Rs into coasters. I'm trying to burn a bootable ISO, a support software for the ServeRAID controller in my IBM ...
0
votes
1answer
102 views

link “make” command to lib and include

I want to use "make" command and link it to the include and lib path. I am using : make -I /path_to_include - L /path_to_lib but it gives me: "nothing to be done for /path_to_lib (the path is ...
1
vote
1answer
95 views

How to make the path of a symbolically linked directory the exactly the path of the original directory?

I have created a symbolic link on my desktop that links to my /var/www/wordpress dir via $ ln -s /var/www/wordpress/ ~/Desktop/wordpress-link When I open bash and cd into ~/Desktop/wordpress-link I ...
0
votes
1answer
274 views

Hacking Oxford Advanced Learners Dictionary's My Topics to be available on multiple machines [closed]

How to make Oxford Advanced Learners Dictionary 8th Edition MyTopics list to sync across multiple machines using SparkleShare?
3
votes
1answer
5k 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
1answer
76 views

How to create new files or modify existing files in a sym link?

I am new to the LAMP environment. I wanted to create files directly in my home directory instead of always copying it to /var/www. I created a sym link using the following command : ln -s /var/www ...
5
votes
2answers
17k 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 ...