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
31 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
60 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 ...
-1
votes
1answer
94 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?
0
votes
1answer
41 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 ...
2
votes
2answers
2k 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 ...
3
votes
4answers
323 views

Is it safe to place symlinks in /bin directory ?

I have many command line tools that I use frequently. I was using the normal method to traverse till the complete path of that command through terminal and then did ./command-name BUT this is a ...
0
votes
1answer
38 views

Display contents of one folder in another

Is it possible to show all the files from one folder in another on Ubuntu? A bit like libraries on Windows? More specifically I want files from a specific folder in my local Google drive folder to ...
0
votes
1answer
351 views

/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)

I'm just trying to install mailman so that the permissions are correct, but no matter what I do mailman installs with the wrong permissions: thufir@dur:~$ thufir@dur:~$ sudo apt-get install mailman ...
1
vote
3answers
12k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
1
vote
0answers
65 views

Using a NAS as a collective dump, with symlinks for whoever uploaded each file

I have a local machine that was sitting around & doing very little, so I decided to turn it into a NAS (Network Attached Storage) machine, with a 40GB disk for Ubuntu (13.10), a 160GB disk that's ...
0
votes
2answers
147 views

How to mklink /home/ to a new empty partition [duplicate]

Due some weird issues with my current lubuntu I'm going to do fresh installation. But when I install lubuntu I need to do two things that I probably can't perform because I'm newbie. I'm going to ...
0
votes
0answers
235 views

Apache 403 Forbidden when following a symlink

I currently have a dual boot between Windows and Ubuntu 12.04, using a separate partition to be able to access the same files between the two. So, currently my files are under /media/Files My ...
0
votes
1answer
100 views

Symlink for /home/

By installing Windows 8.1 I removed whole linux partition (33GB) including swap part (sorry for my stupidity)... But I had my whole /home/ folder on other partition. I installed lubuntu again. How to ...
1
vote
1answer
173 views

Copy: How to recover files which have disappeared

Some files in Copy have disappeared. How can I recover them?
0
votes
0answers
344 views

How to create symlink inner shareDirectory?

1) sudo mount -t cifs //[nas_device_ip/dir] [shareDirectory] -o user=xx,pass=xx,rw,uid=xx,gid=xx 2) modify /etc/samba/smb.conf and then smbd restart [global] follow symlinks = yes wide links = yes ...
0
votes
2answers
647 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 ...
1
vote
1answer
130 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
33 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
163 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
236 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
735 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
56 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 ...
0
votes
0answers
31 views

Nautilus symlink target column

Is there any way to add a column to Nautilus' list view which shows the target of any symlinks in a directory?
1
vote
2answers
713 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 ...
0
votes
0answers
248 views

Failed to create symbolic link to keytool

Keytool is /usr/bin/keytool and points to /etc/alternatives/keytool which in turn points to /usr/lib/jvm/java-6-openjdk-i386/jre/bin/keytool. Now I have installed java version 1.7.0_45 so I need to ...
2
votes
3answers
266 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
95 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
0answers
54 views

node symlink wrong after upgrade

I recently upgraded my node install and while nodejs shows version v0.10.20 the symlink (node in /usr/bin/node) is still reporting version as v0.10.18 I tried removing and re-adding the symlink but ...
0
votes
1answer
238 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
82 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
482 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 ...
0
votes
2answers
512 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
413 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
271 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
324 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
525 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
2k 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
470 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
1k 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
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 -> ...
3
votes
1answer
568 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
109 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
696 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
205 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
875 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 ...
1
vote
0answers
25 views

Wine shows its applications three times in the 'Open with' dialog

Today I noticed that wine is listing its applications many times when I go to the 'Open with other application...' dialog. It is very strange. Where are these symbolic links stored which are shown in ...
4
votes
0answers
153 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
80 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
216 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 ...