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
26 views

Local folder for specific MySQL databases with symlinks

Moving specific MySQL databases under home folder using symlink used to work in the past for me (maybe before upgrading from 13.10 to 14.04) but now, following the same procedure, it just does not ...
0
votes
2answers
31 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 ...
0
votes
1answer
53 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
40 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 ...
2
votes
1answer
18 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 ...
4
votes
2answers
670 views

how to find real file from link

ls -l java lrwxrwxrwx 1 root root 22 2019-02-17 11:37 java -> /etc/anotherLink/java when I do ls -l it shows path to file, but that file can also be a link. is there any way to show path to real ...
1
vote
1answer
34 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 ...
-1
votes
2answers
57 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 ...
1
vote
1answer
24 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 ...
0
votes
0answers
42 views

Copy symbolic link using install command?

Is there a way I can copy a symbolic link (as a symbolic link instead of the target file) using the install command? I have a slink in /home/user1/files/link.txt. I need to copy link.txt (which is a ...
10
votes
3answers
4k 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
0answers
16 views

Folder symlinc to NAS

How to I symlink a desktop folder to our local NAS. I don't auto mount the NAS, whenever I need to reach it I type in my credentials. Does the NAS need to be mounted before the a symlink is been ...
0
votes
0answers
26 views

Creating/removing a symbolic link when a USB device is connected/disconnected [duplicate]

I'm working with an Arduino board and Matlab under Linux. Matlab, unfortunately, doesn't recognize the Arduino board when is connected unless I create a symbolic link to the Arduino board in /dev by: ...
0
votes
2answers
596 views

Too many symbolic links error

I am attempting to use LFS to make my own distro (for fun, nothing important) but keep running into issues. As it suggests, I am running a non-admin user account. However, every time I attempt to ...
0
votes
1answer
26 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
43 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 ...
5
votes
1answer
2k 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?
0
votes
1answer
20 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 ...
0
votes
0answers
33 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?
11
votes
2answers
1k 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.
1
vote
2answers
42 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
72 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 ...
1
vote
0answers
18 views

Following Symbolic Links with AFP Share

We have a networked Ubuntu machine currently sharing a folder via AFP to our staff MacBooks. I've added a second drive, automounted it via fstab and made it read and write by default. I've created ...
2
votes
1answer
91 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
3answers
76 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, ...
3
votes
2answers
364 views

If I create a link to a folder, how can I get from that linked folder to the “real” folder from within Nautilus?

Say I have a folder several layers down in my documents folder. And I want easy access to it from my desktop. To do that I: Go to the parent folder in Nautilus. Right click on the folder's Icon and ...
0
votes
1answer
46 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
63 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 ...
0
votes
0answers
28 views

Can't get a drive to show up on server with Apache2

I'm running Ubuntu 14.04, I have Apache2 and the entire LAMP stack installed. Everything is working correctly from that end. I have an internal, separate HDD I want the contents of available to the ...
0
votes
1answer
86 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 ...
-1
votes
2answers
199 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
47 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 ...
0
votes
1answer
36 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 ...
1
vote
1answer
271 views

Evince won't save files, says “Permission denied”

If I go into evince's save dialog, go to /home/username/Documents, in my home directory, and try to create a new directory (e.g. foo), the operation fails. Evince says: Could not create directory ...
3
votes
2answers
265 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 ...
0
votes
0answers
31 views

Can use of symlinks be circumvented?

I am trying to download Android source from Git repository. I would require a lot of free space on my home folder to download the whole source and build it. So I decided to download the whole source ...
2
votes
1answer
32 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 ...
3
votes
1answer
52 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
2answers
62 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
6
votes
0answers
411 views

Can I set the gold linker as the default one in saucy?

Previously, the /usr/bin/ld symlink was pointing to ld.gold when the binutils-gold package was installed. Gold now comes with the binutils package itself, and it installs the /usr/bin/ld symlink ...
54
votes
3answers
153k 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
1answer
75 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 ...
42
votes
6answers
65k 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
35 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 ...
3
votes
2answers
8k views

Need ProFTPd to follow symbolic link

I have 2 folder: /var/www/project1/ /var/www/repository/module/ and I have this symbolic link: /var/www/project1/module/News => /var/www/repository/module/News I know the target is outside the ...
1
vote
1answer
31 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 ...
4
votes
2answers
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
42 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 ...
0
votes
2answers
1k views

Unfortunately Deleted /usr/bin/python

Unfortunately I deleted the /usr/bin/python in my ubuntu 12.04 I went to /usr/bin/ and run ls -al then I got lrwxrwxrwx 1 root root 64 Jul 13 14:58 python -> ...
6
votes
2answers
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 ...