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)

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
4answers
312 views

Are symlinks internally bidirectional or are they only pointing somewhere?

How are symlinks implemented? Are references stored on both sides or only in the location where the symlink is pointing from? Story: I have a weird "bug" in the folder view of Sublime. A folder that ...
0
votes
2answers
126 views

Can I set up a symbolic link-esque alias from (e.g.) “mybinary dothing” to “dothing”?

I have a script that takes some gene data and runs it through dozens of programs to try to tease out as much information as possible and make me some pretty reports. However, while it seems to work ...
20
votes
2answers
614 views

Is there a difference between a symbolic link via terminal or right-click make link?

I'm wondering if there is a difference between going to a terminal and typing ln -s path 'path or just right clicking on something and selecting make link.
3
votes
2answers
3k views

Can I symlink a Dropbox folder?

I've just installed Ubuntu 12.10 as a dual boot with Windows 8. I'd already had windows up and running for a few months before installing Ubuntu, so in order to have my files accessible from both ...
2
votes
2answers
212 views

What's the best way to add native-looking links to my NTFS data partition?

I have many documents, backups, movies, photos which I have in a Windows data partition (D: drive) that is on the same box as my Ubuntu installation. I want to be able to use this from Ubuntu, with ...
2
votes
1answer
749 views

Run diff on symlinks

I have two folders containing a number of broken symlinks. Is there a way to make diff compare the target of the links instead of trying to follow the links?
2
votes
2answers
585 views

How can I synchronize Windows links (.lnk) to 12.10 using Ubuntu One?

My problem UbuntuOne does not synchronize Windows link files (.lnk). Now, I do not expect UbuntuOne to synchronize the actual links by changing an .lnk file to a linux symlink, nor do I do expect ...
0
votes
1answer
510 views

12.10 403 Forbidden SymLink

I am trying to set up a simple development environment and even after setting all the permissions, I can't get past the 403 error <VirtualHost *:80> ServerAdmin webmaster@localhost ...
2
votes
1answer
775 views

How to copy symbolic links while preserving the validity of the link?

Say under directory /usr/local/boost_1_52_0/stage/lib, I have a symbolic link: libboost_timer.so, which points to the regular file libboost_timer.so.1.52.0 in the same directory. How can I cp the ...
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?
5
votes
1answer
162 views

How do I automatically create links to directories?

What is the easiest/quickest way to share files among different users? I would like each user to have access to the same music and pictures directories. Creating symbolic links seems tedious as I ...
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
2answers
556 views

Symbolic Links wont work

I'm trying to move my .vimrc file into my .vim folder. I read that a symbolic link would allow vim to be able to find my .vimrc file. So i go, ln -s ~/.vim/.vimrc ~/.vimrc But all this seems to do ...
5
votes
1answer
6k views

How do I deal with too many levels of symbolic links?

I'm using Ubuntu Live USB to access my windows files, I'd like to perform a complete, file by file, backup of the Windows C: Drive. Since I want everything backed up, I'm doing a copy and paste. Copy ...
1
vote
1answer
207 views

Symbolic Link says it is pointing to correct folder but goes to parent in FileZilla

I used the following to create a symbolic link ln -s /var/www/example.com/target/public_html faker When I use readfile faker it shows the correct link but when I navigate through FileZilla it take ...
1
vote
0answers
205 views

Help With Hard links And Symlinks Moving Directory And Files

I have a symlink /var linking to /tmpfs/var.1 /var -> /tmpfs/var.1 I start a script called cache_tmpfs from /etc/rc.local on startup. This script will copy /var.backup/* contents to ...
1
vote
1answer
285 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 ...
10
votes
3answers
872 views

Wine won't follow Symbolic links

I can't get Wine to follow some symbolic links I have in my home folder or in applications. Is there a way to enable this? This is on Wine-1.5.18. Edit: Just in case it helps, I'm trying to use a ...
3
votes
2answers
476 views

What are some typical uses of hard links?

Everyone who was used to Windows can imagine what symlinks are and how they're used. On the other hand, the hard link concept is foreign to Windows (am I correct?). I would like to know what are the ...
0
votes
1answer
2k views

How do I redirect PlayOnLinux to a different partition?

Okay! This sounds kind of hard, but it should be entirely doable. I have Ubuntu and Windows on the same disk. On the Windows partition, I have a game installed (Guild Wars 2, but this shouldn't ...
1
vote
2answers
748 views

Do symlinks from HDD to SSD give a performance hit?

I am planning to install Kubuntu onto an SSD, but have /home mounted on a hard disk drive. But also, I would like some /home/... subdirectories to benefit from SSD's performance (they will be read ...
0
votes
1answer
384 views

How to move one directory back when path contains symlink

I want to move one directory back in Thunar when I get into by symbolic link. I know that in terminal I can use cd -P but I want to obtain this behavior in Thunar.
7
votes
2answers
34k 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 ...
4
votes
4answers
7k 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 ...
1
vote
0answers
275 views

How to rsync a chroot without breaking symlinks? [closed]

I'd like to rsync (backup) a chroot environment from outside the chroot. For that I first make a lvm snapshot of the chroot volume and then run rsync on that. The only problem with this approach: ...
0
votes
2answers
10k views

Symbolic Link: No such file or directory

I created a symbolic Link from a File at "/opt/bladir/bla" to "bla". So "bla" is now in "/usr/bin/bla". But if I want to call "bla" at terminal, there comes the no such file or directory error. I ...
0
votes
2answers
1k views

What is “link to executable”?

What is "link to executable" ? I'm trying to understand what "gcc" is. If I open Properties of it in Unity UI it says "link to executable". I googled it. Tried following commands link readlink ln ...
1
vote
2answers
549 views

show the target of current directory(symbolic link)

I'm in directory ~/a which is a symbolic link to ~/b/c. My prompt looks like: ~/a$ But I hope to cd to ~/b/c. ~/a$ cd . ~/a$ It doesn't work. What's the right way?
2
votes
1answer
3k views

Is it possible to create a shortcut/symbolic link to a folder in unity launcher? [duplicate]

Possible Duplicate: In Unity, how do I make desktop shortcuts (a la Windows, OSX)? How can you access a folder you want quickly? I want to create a shortcut for a folder on unity. How is ...
4
votes
2answers
376 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 ...
8
votes
1answer
4k views

Can't change destination of symbolic link

I want to change the destination of an existing symbolic link, without removing the link or the old destination. I have previously created a symbolic link to a directory such as follows : $ cd ...
1
vote
1answer
545 views

Symlink on a folder inside a mounted drive

Ok so i moved from windows to ubuntu 12.04 32bit yesterday and im still learning the folder structure etc of *nix systems. What im trying to do is create a symlink from my 2nd hard drive's, which is ...
2
votes
1answer
5k views

sites-available subfolders and a2ensite?

Due to my job on my localhost I have a lot (think 50+) sites running, these are for about 8 different clients, I want to organise my sites into subfolders. I tried putting my sites in subfolders ...
2
votes
1answer
502 views

How do I replace a directory with a symlink and retain the folder emblem?

I want to replace the folders in my home/ directory with symlinks to folders in another location, but I want to retain the folder emblems without having to go searching for them. How do I do this? ...
1
vote
1answer
1k views

After creating a symlink from PlayOnLinux steamapps to Windows steamapps, should games appear as installed in Steam?

I was able to successfully install Steam via PlayOnLinux. I can launch Steam, browse the store, see my library, etc. After I did that step, I followed these instructions to create a symlink from ...
1
vote
2answers
1k views

Documents stored on separate internal drive, Ubuntu doesn't notice on startup

My machine has Windows 7 Ultimate x64 and Ubuntu 12.04 LTS running side-by-side on a single hard drive with GRUB bootloader, each with 500 GB storage. I keep my personal documents on a separate 1TB ...
0
votes
1answer
345 views

Can't create folder links from a fat32 partition

When I try to create links from several folders (created on windows 7) in order to put them on my personal folder, I get the following error: Error creating the link to [folder] - Destination does ...
0
votes
0answers
18 views

How To Mount or Bind A Samba Share (Specified By An IP Address) On A Directory? [duplicate]

Possible Duplicate: Correct way of mounting a Windows share From my Ubuntu computer, I can access a network share in Nautilus using the IP address prefixed with "smb://". For example, ...
1
vote
2answers
370 views

How to Tab-complete directories when in symlinked directory?

I have a symlink: /path/to/foo -> /path/to/bar/foo When in /path/to/foo I might want to cd to /path/to/bar/foo: $ cd ../ Tab Then nothing autocompletes. I can still cd just fine by typing in ...
4
votes
1answer
6k views

How do I add links to launcher [duplicate]

I am new to Ubuntu; I've been using it for a couple hours now, and I encountered one little problem that I was hoping to solve. I got a program on my computer without actually using the software ...
2
votes
1answer
2k views

Make `php` recognized as a command in terminal [closed]

I have XAMPP installed and my PHP is: /opt/lampp/bin/php-5.3.8 Every time I need to execute a PHP file I need to do this: /opt/lampp/bin/php-5.3.8 testando.php Is there another way to execute it ...
1
vote
1answer
240 views

find . -type l says missing argument

I want to find all symbolic links in the current directory and below. Therefore, I used: find . -type l Running that clears the screen showing "Pattern not found (press RETURN)" at the bottom of ...
2
votes
2answers
2k views

Hard-link /home/myuser to its new location?

I moved my home directory to a subdirectory of a second (mounted) drive using usermod -d ... -m. Now, most programs work fine, but a few (Dropbox, etc.) do not. I believe this is because there is no ...
1
vote
1answer
2k views

How to store Pictures folder on another hard drive?

I have multiple drives in a desktop computer. I want one of those drives to function as my /home/username/Pictures folder. Can this be done? I thought symbolic links could do this, but I'm not ...
0
votes
1answer
187 views

Hardlink or Symlink a portable HDD as Webroot?

I'm setting up a local development environment for our server, and (due to capacity limitations on my SSD) I need to use an external drive as my Webroot (/var/www in my case). The real question is, ...
3
votes
1answer
5k views

Unable to create a symlink to a file

I am not able to create a simple symlink here. When I tried the command sudo ln –s /home/vivek/Downloads/drush/drush /home/vivek/Documents/ where drush is a file inside the folder named drush, I ...
1
vote
2answers
827 views

Creating symlink for Postgres

As a developer, I often ssh right into my local database, just to test my application before pushing my code. However, I find that every time I want to access Postgres, I have to type in ...
1
vote
1answer
57 views

How can I build a link for a directory aside from one file?

I run World of Warcraft on Windows 7 on one hard drive and Ubuntu on another. Until I can figure out how to get my wine version working at the same framerate as the Windows 7 version, I have to do ...
2
votes
1answer
469 views

How to maintain symlinks in linux file manager?

I want to use symlinks extensively. However, if I move the target file, the symlink becomes broken (unlike on Windows). That's not acceptable to me, so I either need a solution or I won't be able to ...