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

Which one: moving /home or making symlinks in regard to SSD efficiency

My whole Ubuntu installation including /home is located in an ext4 partition on an SSD drive. I'm going to move archives and document files (which are almost all inside the home folder) to an external ...
1
vote
1answer
22 views

Use symlinks for zero downtime web delopyment

I have a big website where all the files are in the public_html folder. Here's the structure : -public_html/ - app/ - public/ - vendor/ - index.php - test / - app / ...
1
vote
2answers
27 views

http2.load is a dangling symlink

I have just upgraded my Google Compute Engine to Ubuntu 16.04 lts and now cannot get apache2 to restart! I first ran sudo apache2ctl configtest and got this: apache2: Syntax error on line 140 of /...
2
votes
0answers
44 views

In 16.04 has symlinks changed in how to create them?

I installed 16.04 for arm and all old symlinks previously created on 14.04 were fine. But I tried to create a soft link in 16.04 the same way I did in 14.04 and the link points back to itself in a ...
0
votes
0answers
28 views

failing to create symbolic link - file exist error [duplicate]

Im trying to make a link to clion so i don't have to use the full path every time. I used the following command: ln -s /home/oarzi/Public/clion-2016.1.2/bin/clion.sh clion and got the following ...
1
vote
1answer
82 views

Create a symlink in /dev using /etc/udev/rules

I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab: Create and implement a rule on your system that will create a symlink ...
-1
votes
1answer
51 views

Why does Ubuntu 12.04 64bit recognize a symlink as a binary file?

I have two files. One file has the name gcc and is a shell file. Another file has the name g++ and contains data like this: "!<symlink>ÿþg c c " I can run the shell file gcc but the file g++ ...
1
vote
1answer
31 views

SYMLINK in udev rule

I created a udev rule named "/etc/udev/rules.d/75-myusb.rules". The only thing inside it is this line: SUBSYSTEM=="usb", SYMLINK+="myusb" After creating it I plugged a USB drive and a file named ...
0
votes
0answers
29 views

Make directory look like partition in file-managers

I have made directory in my ~ directory for storing my working files, with name work, added there symlinks to Documents, Downloads, Pictures and such. Now I want to make it look in the system as ...
0
votes
1answer
385 views

ln to run .sh file in another directory

Thanks in Advance. I have a .sh file that works fine. It lives in ~/Downloads/SampleFolder/this.sh. I want to ln to create a link to it in my ~/ folder, but when I do, I get an error that it can't ...
0
votes
0answers
42 views

Menu in LXPanel

I'm using latest version of LUbuntu with LXPanel 0.8.2. "Directory menu" in LXPanel is very useful feature, but it would be even more amazing, to improve functionality, by adding the ability to ...
2
votes
1answer
84 views

Symlinks to Windows folder breaking

I've got a folder of my work on my Windows partition, which I still use from Windows sometimes, so I can't just move it to my Linux partition. So I've made a symlink (both with ln -s and by right ...
0
votes
0answers
22 views

Upstart not resolving symlink

I have my server.conf in a web project and I have symlinked it to the /etc/init directory like so. $ ln -s /var/www/[mysite]/system/server.conf /etc/init/server.conf The config file is fine, the ...
9
votes
2answers
112 views

Make Folder a symbolic link to two folder?

I would like to have Ubuntu's default music folder /home/$USER/Music to act pretty much as a library would in Windows. Essentially it would be a virtual folder containing the contents of other folders....
1
vote
1answer
43 views

Link broken but when “ls” is used on link in terminal the content is displayed

I noticed an interesting fact today. I have a link on my Desktop pointing to windows partition (dual boot Ubuntu 14.04 & Win8.1). Because this partition is not automatically mounted the link is ...
0
votes
1answer
20 views

What does the black arrow under the bin GUI icon represent?

Today I noticed that most bin/"executables" don't have the black arrow right of the bottom-of-the-logo-diamond, but a few do. From the ones i've seen, I think they're programs that are currently ...
2
votes
0answers
10 views

How to properly share a directory with an another group member? soft-link / hard-link

My scenario is simple. I am working with another team members, and I want to share my directory with others. I created a symbolic link of the shared directory in their home directories. ln -s ~/...
0
votes
1answer
23 views

Set suplicity to do not follow symbolic links

Currently duplicity supports (...) symbolic links (...) but not hard links. http://www.nongnu.org/duplicity/duplicity.1.html It is not clarified but most likely it means that soft links are ...
2
votes
1answer
148 views

Does dropbox sync hardlinks?

I have a folder of large files. I want that folder to be in two different places at once - my Home documents, and my College documents folder. I've done this with a symlink in the College folder to ...
8
votes
2answers
633 views

How do I delete the target of a symbolic link without deleting the link itself?

I have a symbolic link ~/Desktop/test.txt which points to ~/rendu/test.txt. I know ONLY the path of ~/Desktop/test.txt, I want a fast way to delete ~/rendu/test.txt WITHOUT deleting the symbolic link....
0
votes
2answers
73 views

How to circumvent hard link creation permission to directories on the same file system

I'm well aware of the difference between symbolic and hard links. I'm also aware of the dangers of creating hard links to directories. Nevertheless, I'm insisting on creating a hard link to a ...
0
votes
0answers
15 views

Symbolic link automount

I created a symbolic link on my desktop to a directory in a different partition. When I unmount the partition, clicking on the link won't automount the partition, but it will if I click the icon on ...
1
vote
0answers
27 views

I created symlinks between windows and ubuntu (ext4) partitions, and I think it's causing havoc, how do I hunt them down and remove them?

I want to remove all symlinks between my ntfs and ext4 partitions. Is there a simple way to find them, and then remove them? I am using windows 7 and 14.04. I believe I used them to force my dropbox ...
0
votes
1answer
17 views

Why the directory name was parsed wrong?

I want to link /var/www/html/wp to /windows/wamp/www/wp. ln -s /var/www/html/wp /windows/wamp/www/wp ln: failed to create symbolic link ‘/windows/wamp/www/wp/wp’: Operation not permitted Why /...
1
vote
0answers
31 views

Symlink in VBox Shared Folder are not properly formatted

I have my c:\ partition shared to VM using Virtual Box Shared Folder. It is currently mounted as /c on the Ubuntu guest. Lets suppose c:\html points to c:\Server\html on the Windows host. When I try ...
0
votes
0answers
15 views

Symbolic relative link created in Windows contains backslashes when mounted as ntfs

I created a symbolic link, after having booted Windows 7 64 bit on my machine that dual boots with Ubuntu 14.04 LTS Desktop 64 bit, using command tool as administrator, entering (where target is a ...
4
votes
2answers
166 views

Seamless integration of Windows software in Linux

Before I describe what I am trying to do, I want to make clear that I have about 10 years of experience with Linux OS and Ubuntu and a lot of experience with VirtualBox. This is not for me but for a ...
1
vote
0answers
62 views

Files lost after tar command

I had a symlink called st and I wanted to compress it into a tar.gz archive. I ran the command: tar zcf st.tar.gz st The resulting archive st.tar.gz contains only a link to an empty folder called ...
0
votes
0answers
27 views

Nautilus doesn't work but gnome-open works when opening links on Windows partition

I made a bunch of symbolic links to files on my Windows partition (like link_to_stuff -> /media/uname/Windows/stuff*) and put them on desktop (/~/Desktop/link_to_stuff). After I rebooted, the ...
0
votes
0answers
41 views

Open file in vim using symbolic link

I have symbolic link in current directory that points to text file. How to open file in vim using that symbolic link? command vim linkname not works.
0
votes
0answers
134 views

ln: failed to create symbolic link ‘/lib/systemd/system-sleep/displaylink.sh’: File exists

I'm trying to install the displaylink driver 1.0.355 to be able to connect another display to my laptop. I had an older version of this driver before but erased it. I downloaded the driver and it ...
1
vote
1answer
89 views

Create a link to a folder in Windows partition

I have a little problem. In my laptop, I have 3 partitions, one for Windows 10, one for storage and one (plus swap) for Ubuntu 14.04. Windows partition can't be reduced much, so I've created some ...
0
votes
1answer
62 views

Symlink does not work for dropbox

I am backing up home folder by create a symlink in dropbox. What I did: cd ~/Dropbox mkdir backup && cd backup ln -s ~ What I checked: ln -l. The symlink is created. The dropbox folder ...
3
votes
0answers
54 views

Cannot delete files

I've got my documents directory mounted on a separate partition from /home (/mnt/data) and linked symbolically. If I try to delete anything from ~/Documents via the GUI the window simply closes and ...
0
votes
0answers
20 views

/opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79

I am running google, but get error /opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79: cannot open shared object file: No such file or directory I find ...
0
votes
1answer
115 views

How can I automatically create a link on the desktop or in $HOME when USB Stick is mounted?

How can I create(and remove if unplugged) a symlink to the mount-point of a newly plugged-in USB-device on the desktop or in the $HOME of the systems guest-account?
0
votes
0answers
41 views

launcher icon problem

I have some application like Arduino, Fritzing and Processing js, each of them needs to go to the download directory and write ./arduino,./processing... in terminal to open them. I found a way to make ...
1
vote
3answers
155 views

Editing ~/.config/user-dirs.dirs does not permanently change user directory locations

So it appears the same is happening to me on Ubuntu 14.04 as has previously been reported as a bug here A difference though is I am trying to move the Home directory folders to a separate drive and ...
0
votes
2answers
46 views

Help with symlink

I accidentally changed permission to 000 on symlink: /lib64/ld-linux-x86-64.so.2 In effect ubuntu 15.10 can't execute any bash command (binary). In this situation chroot from live cd is not ...
0
votes
0answers
62 views

Symlink not working

I am trying to link java plugin to Opera. I have tried all sorts of methods. These are Opera's instructions for after JRE's installation: So that Java will be discovered, type the following ...
1
vote
0answers
223 views

rsync doesn't resolve target symlink to directory

I'm using ssh to connect to a remote machine. In my home directory there, I created a symlink to a mounted directory, as you can see below: username@hostname:~$ ls -l lrwxrwxrwx 1 username users 69 ...
1
vote
2answers
110 views

update-alternatives arguments - <link> and <path> can't be the same

I want to add vimb to the default browsers in x-www-browser. I don't see it in update-alternatives --config x-www-browser, so I think I have to --install it. After some time spent in reading man ...
0
votes
0answers
73 views

Symbolic link, samba share, Ubuntu 14.04

I am a Unix dabbler at best, I would appreciate some expert help. I have upgraded one of my machines from 12.04 to 14.04 and lost a path to a windows samba share. On a 12.04 machine I have a samba ...
1
vote
1answer
85 views

Meaning of “b” and “c” in file privileges description (output of ls -l)

Basic question regarding the ls utility. What do letters "b" and "c" mean at the beginning of the 10-symbol code describing the item privileges ? From what I understand, when typing ls -l, the ...
7
votes
3answers
475 views

Nautilus: Visited directory via symlink, now I can't go one level up in the target directory hierarchy

I created a shortcut via "make link" option. When I enter to this shortcut's folder I can't see any folders above it so I can't easily navigate to them. Is there a way to go one folder up in the GUI? ...
0
votes
0answers
680 views

How to solve linking problem to build a project?

I'm trying to run "make all" to build a project, and keep getting error CXX/LD -o .build_release/tools/compute_image_mean.bin /usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to `...
1
vote
0answers
47 views

How can i remove home directory from download directory without deleting it

In my Downloads folder when I make ls I see the home directory, and I don't know why, I want to remove it but I am afraid to remove my home folder. Can anyone tell me how I can just remove the home ...
0
votes
1answer
112 views

What is the right way to remove that symbolic link in Ubuntu 15.10? [duplicate]

I've created this link: sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.conf I've tried to remove it in these ways: sudo unlink /etc/phpmyadmin/apache.conf /etc/apache2/...
1
vote
3answers
50 views

How do I find all custom-created symbolic links in the entire system?

I've created several symbolic links in different places. I can't really recall where each one of them is in the system and I've already removed programs they are associated with. Is there a script / ...
1
vote
1answer
36 views

Interpret Windows symlinks as Linux symlinks

I have a bunch of files on a (Windows) network mounted location. Many of these files are Windows's symbolic links. Is there anything I can do to tell Ubuntu to interpet these Windows symlinks ...