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)

2
votes
1answer
95 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 ...
9
votes
2answers
7k 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
130 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
573 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
117 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
58 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
102 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
90 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
322 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
240 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
138 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 ...
28
votes
3answers
65k 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
413 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
350 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
122 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
101 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
310 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
6k 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
80 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
21k 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 ...
4
votes
4answers
2k 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
55 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
1k 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 ...
40
votes
7answers
165k views

How to remove symbolic link

I was trying to create this symbolic link: sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but I accidentally typed: sudo ln -s /usr/share/php,yad,in /var/www/phpmyadmin So now I want to ...
1
vote
0answers
118 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
408 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
1answer
178 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
537 views

Copy: How to recover files which have disappeared

Some files in Copy have disappeared. How can I recover them?
0
votes
2answers
2k 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
399 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
42 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 ...
2
votes
1answer
361 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
692 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
2k 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
109 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
3k 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
2k 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
150 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
510 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
120 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 ...
7
votes
0answers
2k views

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

Before Ubuntu 13.10 (saucy), 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 ...
0
votes
2answers
3k 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
856 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
519 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 ...
1
vote
2answers
927 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
2k 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
8k 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 ...
1
vote
3answers
2k 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 ...
3
votes
1answer
4k 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.