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

Deleting a directory + unlinking the files

I have a folder with many files those have a few sym links pointing to them like /some_path -> /dir/file1 /some_path2 -> /dir/file2 /some_path3 -> /dir/file3 But I don't remember neither ...
0
votes
1answer
36 views

Linking a Windows terminal application

I have downloaded windows terminal application namely pdf2djvu (equivalent of this I can't find under linux) as the name implies it converts PDF to DJVU documents (compact in size)... I have placed ...
1
vote
1answer
207 views

Is a shortcut and symbolic link the same? If not, how do I create a shortcut?

I found this link on Wikipedia: http://en.wikipedia.org/wiki/Symbolic_link According to them Symlinks are not really shortcuts. I had the need to create a shortcut to a program on the Desktop and I ...
1
vote
1answer
472 views

Link to a script using 'dirname'

I have a script placed in /opt/MyDir/myscript.sh which calls java, setting its directory as the classpath: scriptdir=`dirname $0` java -mx3g -cp "$scriptdir/*" MyApp.jar I have created a link to ...
5
votes
4answers
1k views

How to find the original file of a soft link?

For example, I have a file a, and I do the followings. ln -s a b ln -s b c ln -s c d If I use readlink d, I will get c. So I have to run many times to get a. Is there an easy way to get a? ...
2
votes
1answer
70 views

what does it mean if `which X` finds something but executing `X` fails?

Specifically python: $ which python /usr/bin/python $ ll `which python` lrwxrwxrwx 1 root root 9 Jun 18 10:26 /usr/bin/python -> python2.7 $ python The program 'python3' is currently not ...
2
votes
2answers
1k views

Delete directory by referencing symbolic link

To set up the question, imagine this scenario: mkdir ~/temp cd ~/ ln -s temp temporary rm -rf temporary, rm -f temporary, and rm temporary each will remove the symbolic link but leave the directory ...
2
votes
3answers
456 views

Determining if a soft link already exists [closed]

How can you determine if a soft link already exists? I do not know how to determine this. I am a novice to Unix/Linux
1
vote
0answers
110 views

Symbolic link error to Java / LIBJVM

All, When trying to install postgresql, I get the following error: /sbin/ldconfig.real: usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so is not a symbolic link I think this is ...
0
votes
1answer
335 views

second hard drive to be mouunted as /home/Videos

i am wanting to know if i can make my second hard drive be the videos folder that is in my home dir. if so please tell me how. mainly when i click on the videos folder i want it to show me the stuff ...
0
votes
1answer
95 views

linking to an executable with options

I want to have a link to an executable as follows, the equivalent terminal command is: Mathematica -mesa The command ln -s Mathematica -mesa Mathematica does not work, how can I include -mesa in ...
6
votes
0answers
894 views

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

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 ...
0
votes
2answers
976 views

Changing symlink “python” to “python3” causes problems [duplicate]

I have Python 2.7.3 and 3.2.3 installed on my Ubuntu 12.04 64bit (by default?). When I type "python", I want python 3.2 instead of 2.7. Changing symlink "python" to link to python3 seems to cause big ...
0
votes
1answer
529 views

Trying to use symbolic link gives me “command not found” error

I created a symbolic link via ln -s pathname/folder/file.py whatever and I now have a bright blue link in my home directory with the symbolic link command name but when I try whatever hello_world, ...
0
votes
1answer
333 views

Symlinks in /var/www/html don't work on a 64 bit machine

Strange problem. I have a 32 bit machine "A" running apache where when I create a symlink to a directory and access that link on the browser, I am able to see the contents of that directory. But on ...
0
votes
2answers
483 views

Rsync creating \#015 directory

I have a virtual ubuntu server running on my windows server. This server has 2 external hdd's attached, which are mounted in ubuntu. Now I try to run rsync to sync a directory on my desktop and my ...
12
votes
4answers
945 views

Restore 'cd ..' functionality after following a symbolic link

If I create a symbolic link in the terminal with a command like ln -s /path/to/some/directory symbolicLink and then follow the link with cd symbolicLink the terminal appears to think that the cwd ...
1
vote
2answers
4k views

/bin/sh is a symbolic link that doesn't point to /bin/bash [closed]

I was installing the software environment of Armadeus experiment board APF27DEV, and when I tried the make command, it gave me the following error message: On your system /bin/sh is a symbolic link ...
0
votes
3answers
925 views

Question about the symlink of the ln command

Can anybody give me an example why should we use the symlink kind of the "ln" command between files? I know that when you create symlink file, that file size is very small and it redirect to the main ...
2
votes
1answer
2k views

How can I make a symbolic link to run a program with command line argument?

How can I make a symbolic link to run a program with command line argument? For example, I want to run sample with -i eth0 argument every time when I click on a symbol link.
0
votes
2answers
2k 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 -> ...
4
votes
1answer
1k views

How to use multiple instances of gcc?

I have both gcc 4.7.3 and 4.8.1 installed But on running gcc --version I get gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see ...
1
vote
0answers
128 views

Symbolic link for lampp isn't working 100%

Note: I'm a beginner in ubuntu I've been trying for some time to set XAMPP up on my Ubuntu machine so I can develop my PHP projects. I found out that I can't directly modify the htdocs folder because ...
0
votes
1answer
894 views

msp430/bin/ld: cannot find -lc

I installed successfully msp430-gcc 4.7.0 compiler. The compiler at the final stage of the linking process it shows me the following error for Ubuntu 12.04. msp430-gcc -mmcu=msp430f1611 ...
0
votes
1answer
217 views

ubuntu 13.04 cant read windows 8 partition anymore

I freshly installed ubuntu 13.04 on my Windows 8 PC. Dual booting it, I created a symbolic link while on ubuntu to my windows based Dropbox directory. The link worked fine while the computer was still ...
0
votes
2answers
1k views

How to install gcc/g++ 4.4 and make links

Because I cannot compile some code by gcc/g++ 4.7, I want to install gcc/g++ 4.4. I searched the Internet and found some different way. I don't know what is the best solution. Is it possible to ...
4
votes
0answers
155 views

Files (Nautilus?) shows the real location of Symbolic Links [duplicate]

I some of the "folders" in my home directory are symbolic links to a larger hard drive mounted on /mnt/data. I would like it if when I click on (for example) Music in my home directory, Nautilus ...
1
vote
2answers
81 views

In: No such command - trying to create a symlink and 'in' does not work

I'm using a Ubuntu 12.10 server (an Amazon AWS EC2 Instance) and I need to create a symlink which needs the In command but this appears not to be installed. The message i get is In: No such command ...
2
votes
2answers
246 views

Mirror Files and Documents from Windows machine to Ubuntu in Virtualbox

Ok, so I have a machine with a dual boot installed (Windows 8 and Ubuntu 12.10). They are on separate hard drives. I already have Virtualbox set up to boot from the linux physical hard drive (Windows ...
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
426 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
137 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
707 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
245 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
878 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
686 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
600 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
982 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 ...
6
votes
1answer
3k 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
175 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
783 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
7k 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
280 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
1answer
367 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
1k 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
794 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 ...
2
votes
2answers
973 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 ...