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
votes
0answers
20 views

creating hard link in python [closed]

I wanted to write a program in python that uses the keyword link only to find it's not a keyword in python. How can I define it and create the link? Thanks in advance
0
votes
0answers
20 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
18 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 ...
0
votes
2answers
42 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
22 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
29 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 ...
6
votes
3answers
302 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
106 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
31 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
44 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 ...
1
vote
3answers
43 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
26 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 ...
0
votes
0answers
34 views

How to create a symlink without expanding variable?

I'm trying to create a symlink that links /root/.gtkrc-2.0.mine to /home/$USER/.gtkrc-2.0.mine. Whenever I try to run the following, the variable expands, so if I copied it to another computer, it ...
1
vote
0answers
19 views

Show full-path for links [duplicate]

The real path for the folder TEMP DESK is: /home/username/Desktop/Dropbox/mystuff/TEMP DESK But when I click on the link that I created for it, it shows: /home/username/Desktop/Link to ...
2
votes
0answers
28 views

Problems with Java and Symlinks

i'm having troubles with the java jar files symlink. First of all i've to use java -jar command if i don't do it the java file doesn't run properly. Well the problem starts when i symlink the jar ...
1
vote
2answers
21 views

Can I change the text that's added to the file name when I make a link to it?

If I make a link to, say, "make believe.mp3", the link is named "Link to make believe.mp3", but I'd rather name it "make believe.mp3 - link", so that being a link doesn't interfere with its alphabetic ...
0
votes
2answers
41 views

Is there a way to get the trailing '/' to appear when using cd with a symbolic link directory?

I'm using the bash shell and use lots of soft links. One minor but annoying behavior I observe is the fact that I need to hit tab twice to complete the name of a soft link to a directory. e.g. $ ...
-2
votes
3answers
113 views

Failed to create symbolic link, what should I do? [duplicate]

When I enter the following command on a terminal session. $ sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver It shows me the following message ln: failed to create symbolic link ...
0
votes
0answers
14 views

Moving - Installed app's data to another partition

I have installed ka-lite application in my /home directory. This application is for offline hosting of khan-academy tutorial videos. The program stores offline videos in the location ...
0
votes
2answers
58 views

change mount points to another directory

I want to change the directory's of four mount points to /home folder in hopes of moving programs to another directory. I am in need to move /tmp /usr /opt and /var to the /homedirectory like ...
1
vote
2answers
89 views

Symbolic links and the sense of /etc/alternatives

When typing java into my console, a symbolic link in /usr/bin/java is followed. which java /usr/bin/java This symbolic link points to /etc/alternatives/java. file /usr/bin/java /usr/bin/java: ...
0
votes
0answers
17 views

Is it possible to create a symbolic link that relies on an environmental variable instead of a absolute path?

The Environmental variable will contain the absolute path. That way if an entire sub-directory is moved then one only needs to edit the environmental variable. For example if we have some directory ...
1
vote
0answers
106 views

virt-install - internal error: process exited while connecting to monitor, symlink to /var

TLDR: when contents of /var is stored in a normal directory, virt-install works. When /var is a symlink pointing somewhere else, virt-install breaks. New installation of Ubuntu 14.04. 2 logical ...
-1
votes
1answer
107 views

Problem with Maven execution after installation

when i run mvn -v i get the below error: bash: /usr/local/apache-maven/apache-maven-3.3.1/bin/mvn: No such file or directory At /usr/local/ there was a apache-maven directory and i deleted it. ...
2
votes
1answer
53 views

Custom keyboard shortcut to bash script doesn't work

I am an emacs user and have written a few emacs configuration files. I wanted to run the client-server feature of emacs using a single bash script that would take care of the emacs server and client. ...
0
votes
0answers
15 views

Making links similar to Windows [duplicate]

I am using Ubuntu 14.04, and wanted to know if there is a way to make links that behave like Windows' shortcuts. Searching the web and forums I came across a post that helps with Terminal navigation, ...
0
votes
1answer
97 views

qt broken link and environment variable

I've installed qt5.5 from PPA. But I'm getting following output. ansh@ansh-HP:~$ qmake -query qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory ...
0
votes
1answer
18 views

Is it possible to symlink file to system folders? [duplicate]

Let's say there is a script in my home folder I would like to use in /etc/cron.* folder or in other system folders. Is there any way how to do it without copying the file to the target location? ...
0
votes
1answer
49 views

modifying matlab symbolic link

I've successfully created a symbolic link to MATLAB as suggested in the questions below: How can I launch MATLAB 2012? So I can run MATLAB from any directory. However, I've noticed that some people ...
0
votes
0answers
50 views

Why wont my symlink run node?

I've recently downloaded node and unpacked it to /usr/local/node. The executable can be found at /usr/local/node/node-v4.1.0-linux-x64/bin/node. I have create a symlink to the file at /usr/bin/node, ...
0
votes
1answer
63 views

Symbolic link to NAS

I love the "sticky notes"- program xpad. Would it be possible to use the command ln -s to link it's config folder to a shared folder on a NAS drive, to have the xpad-sessions synced on all my local ...
1
vote
0answers
23 views

Is it possible to make all files in a dir be always created as symlinks to /dev/null or ignore all writes to them in other way?

I always redirect unneeded logs that are always stored under one name to /dev/null by symlinking. But some applications create directories with files named, for example, by date. I do not want to ...
2
votes
1answer
290 views

why is there more than one python 2 command in ubuntu 12.04?

so while playing with some aliases I realized that there are three python commands (without taking into account the python 3 commands) in the terminal: python python2 python2.7 So my question is ...
2
votes
1answer
63 views

Simple way to delete a file and all its links (simultaneously)

I found a lot of questions on how to delete symlinks only, or delete symlinks based on their contents, but no one has asked how to do what I want to do. Take the following example file-l -> ...
0
votes
2answers
40 views

Ubuntu Aquaris E4.5 symlink

I have an Ubuntu Aquaris E4.5 phone and looking for and easy way of transferring multiple photo's from the SD card to my linux PC. I have installed WifiTransfer which uses a file ...
5
votes
2answers
155 views

How to find files whose inode is not referenced by any directory

Okay, some time ago I found what seems to be a bug in nautilus. /tmp$ mkdir test/ /tmp$ mkdir test2/ /tmp$ echo "very important stuff" > test/important-file.txt /tmp$ ln -s /tmp/test/ test2/test ...
1
vote
1answer
89 views

When would you want to use a Hard link instead of a soft link? An example to help Understand the difference

I have read lots of posts on What is the difference between soft and hard link but still am a bit vague on the difference. I wonder could somebody give just one or two example(s) of when you would ...
0
votes
2answers
30 views

Can you Link *Hard or Soft* to a directory and change the names of the files linked

So here's the scenario. I have a file torrent that gets updated and its so big its on a different disk, what I would like to do is create a link to where it would normally go if it wasn't so big and ...
1
vote
0answers
27 views

Move files preserving symbolic links

I have some files on an external hard drive, to which I keep soft symlinks in my home folder (many links, not just one). I need to move some of the original files to another hard drive, and I want to ...
-1
votes
1answer
101 views

opt command not working [LLVM]

My linking looks broken. It's showing below error. $ opt The program 'opt' is currently not installed. You can install it by typing: apt-get install llvm and apt-get install llvm-3.6 shows that: ...
0
votes
0answers
28 views

XPDC1 make error

I am coming across an error when making this software. I have already installed xgrafix, xoopic, xpdp1, and xpdp2. I believe it is solvable by linking but I am unsure on how to do that. These are all ...
0
votes
0answers
40 views

Can't get symlinks working

I'm trying to get symlinks for a Typo3 installation to work. My way to do it: cd /var/www/application/htdocs ln -s /var/www/application/typo3_src-7.4.0 typo3_src Check with ls -l lrwxrwxrwx 1 ...
0
votes
2answers
80 views

set shortcut for executable program from terminal

I installed a program and I want to create a shortcut. e.g. I want to type eclipse into the terminal to launch the program. I already copied the eclipse folder in /home/user/Programs and created ...
0
votes
1answer
31 views

Linked Files in LD_LIBRARY_PATH statement not working

Is there some magic to ensure that Link files work when part of a PATH statement? I have an app that is looking for /opt/Qt/5/gcc_64/lib/libXmlPatterns.so.5 The above file is a link to a file in ...
2
votes
3answers
289 views

Error 'File is a symlink to a non-existent target'

While working through two active buffers in Emacs, sum.cpp and template.cpp, I accidentally shut down my laptop (Ubuntu 15.04 (Vivid Vervet)) without closing Emacs, and without saving these two ...
0
votes
0answers
14 views

Recover Directory Links

I've just erroneously launched this command: rm -R symbolic_link_to_dir and now if I go to DIR I can't see the content folders anymore. Fortunately if I enter with my FTP I can see all of the ...
0
votes
1answer
371 views

symlink to already existing directory

Is there a proper way to link /home/user/app/public to /home/user/public_html, considering the fact that the target already exists? If I do ln -s /home/user/app/public /home/user/public_html, I end ...
2
votes
5answers
437 views

Why not design having the softlink (symlink) and hardlink in the same “link”?

I haven't used hardlinks for a long time and never really needed them until I was asked in an interview. I read their difference from symlinks here: What is the difference between a hard link and a ...
1
vote
0answers
98 views

Back up symbolic links (not the files they link to) with Dropbox

Dropbox follows symbolic links. Apparently this is useful. But I have a folder with very large data files I do not wish to back up online. I have physical backups for it. However, I have various ...
1
vote
1answer
55 views

Linux Headers and Updates

If I create a symbolic link from linux-headers in /usr/src and then an update comes along where my uname -r output changes, does that symbolic link get updated as well? Or do I have to switch the ...