Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symbolic-link]

A 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 the files that symbolic link files link to.

2
votes
0answers
27 views

How do you create a symlink to a file on a mounted disk that survives reboot?

On my network, I have a disk on my other computer running Ubuntu (both computers with 18.10) mounted to /home/username/Storage via nfs in fstab. That fstab line looks like, 192.168.2.33:/otherhome/...
1
vote
0answers
33 views

Why is there a .steampath in my home directory?

In the terminal, I see a broken link which is named .steampath, I didn't remove /home/user/.steam/sdk32/steam, but it is gone. Why is the .steampath there? Should I remove it?
1
vote
1answer
19 views

checkinstall + symbolic links

I am trying to package this code with checkinstall, but run into this bug which prevents all the symbolic links for shared libraries to be created. make install creates these links: libdlt.so -> ...
0
votes
0answers
16 views

Nautilus FTP symbolic links

When connecting to an FTP server through Nautilus, symbolic links show as documents. When I attempt to open it, it thinks that the symbolic link is trying to point somewhere on my local machine, and ...
0
votes
0answers
45 views

Persistant Symbolic Link -Ubuntu 16.04

Could somebody assist me in creating a persistent symlink for the block devices, using udev ? I have a cloud server, where I can attach a separate device (/dev/xvdb) as a storage. I want to create ...
0
votes
0answers
32 views

Question about Python mapping (/etc/alternatives/python)

I using Ubuntu 16.04 and I currently have 3 Python versions installed: Python 2.7, 3.5 and 3.6. I have a question relating to the /etc/alternatives/python shortcut. Here is some brief context: ls -l ...
2
votes
2answers
121 views

Script for merging files in multiple nested directories by symbolic link

Basically I am looking for a script to automate stuff (See picture below) in Ubuntu. I'm thinking of using a bash script but other solutions (eg. python?) would also be excellent. 1) Suppose I have a ...
0
votes
0answers
30 views

What is the best solution when use soft link?

I have a tool. This tool extracts an executable file (called binA) and then this tool call ./binA binA file is in where is the same tool's location. I make a soft link to this tool run anywhere: ln -...
0
votes
0answers
26 views

Tutorial is asking for a sym link, directory already has one

lrwxrwxrwx 1 root root 16 Nov 13 11:12 /usr/lib/systemd/system/nfs-secure.service -> rpc-gssd.service ls -lh /etc/systemd/system/ | grep multi-user.target.wants drwxr-xr-x. 2 root root 4.0K Nov 13 ...
0
votes
2answers
60 views

What happens to a symbolic link when the original file is replaced?

I have update software in /opt/minergate-cli. I've renamed the directory minergate-cli to minergate-old with an mv command, then installed a newer version of the software giving the same directory ...
1
vote
1answer
75 views

Dependency is not satisfiable: udisks

I'm having the issue that udisks is not found on my system by a deb-Package. I assume my Ubuntu is newer than the package and it finds udisks2. Probably the problem will be solved easily with a ...
0
votes
0answers
58 views

Copy bootmgfw.efi from one mount to another mount

Due to a failed Windows Update my windows boot got corrupted which forced me to follow the turorial listed here: Error: premature end of file /EFI/Microsoft/Boot/bootmgfw.efi Link for the tutorial:...
0
votes
1answer
22 views

How to update softlinks when folder is updated?

I have two directories 'original' and 'soft'. I have soft links on all the files of the original directory. ln -s original/* soft/ However, on the regular basis files are getting copied and deleted ...
0
votes
0answers
247 views

Symlink path returns no such file or directory

I am trying to follow the path stated by a symlink as below: immersive -> /lib/firmware/immersive When I CD to /lib/firmware/immersive I get "No such file or directory" Can somebody please tell ...
0
votes
1answer
29 views

Creating symbolic links to all config files

New to this forum. Currently, have I configured myself a little media server using Ubuntu Server 64bit, version 16.04. It runs Plex, Samba, Deluge, SSH, and some custom scripts. It takes a bit of ...
0
votes
0answers
28 views

Change Default Name Given to Symlinks

I would like to change the name given to any new symlink by default. So if I have a file named "A", the system names the symlink: "Link to A". But I want to make it "A -Link". System: Ubuntu 18.04.1 ...
0
votes
1answer
199 views

What the “snap” is going on with this symbolic link? [duplicate]

I was looking in /usr/bin tonight and saw this: The symbolic link in cyan / red is a curiosity: lrwxrwxrwx 1 root root 25 Jul 19 04:48 ubuntu-core-launcher -> ../lib/snapd/snap-confine* ...
1
vote
1answer
84 views

ubuntu 14.04: How to compress a directory which have symlinks?

I have a php project of size 3.5GB in which there are symlinks of several files. I want to zip it and take backup to windows 10 PC from my ubuntu 14.04 laptop. Whenever, I make a zip file of it and ...
0
votes
1answer
40 views

Sync Desktops between two computers via Dropbox?

I've been using Dropbox and symlinks to keep two Ubuntu computers in sync, for years. The setup is a bit fiddly, because some links go TO the Dropbox folder, and some come FROM it, depending on how ...
3
votes
2answers
173 views

How edit anyway .conf on symlink using vim?

I have file in ../new-path/ dir. lrwxrwxrwx 1 root root 32 Sep 6 19:43 test1.conf -> ../new-path1/test1.conf When I edit it with Vim using sudo vim test1.conf on under Vim dialog said. "test1....
0
votes
1answer
284 views

Ubuntu Shared Folder Symbolic Link

I am new to Ubuntu. I just installed Ubuntu using VMware. I added a shared folder and used sudo vmware-config-tools.pl to confirm the change. The shared folder exists in /mnt/hgfs under the name ...
0
votes
0answers
22 views

Create hardlink of a directorys files to desktop

I would like to create a permanent link for all files in a specific directory (which is synced with the cloud) to my Desktop. The Desktop should then show all files within the synced cloud folder. Is ...
7
votes
2answers
260 views

How to edit target path of broken symbolic link from GUI?

Let's assume the following situation: I have file1 somewhere $ touch file1 I make symbolic link to file1 as symlink1: $ ln -s file1 symlink1 $ file symlink1 symlink1: symbolic link to file1 I ...
0
votes
1answer
50 views

symlink for files in nested folder

Hey all I have a problem, I have a media server with files hosted on a set of networked hard drives (all of the files are in symlinks to allow them to be caught by my dlna server) The question is ...
0
votes
1answer
122 views

Symbolic link for default Music folder

I have my music collection in my Nextcloud instance. This is synced at ~/NextCloud, so my music collection is located at ~/NextCloud/Music. I now want to have a symbolic link from the latter folder ...
1
vote
1answer
509 views

ldconfig errors caused by broken Nvidia symlink after upgrade to 18.04

I recently upgraded my computer from 17.10 to 18.04. This involved an upgrade of the nvidia graphics driver from nvidia-384 to nvidia-driver-390. However, I noticed that nvidia-384 was still installed ...
1
vote
1answer
224 views

Make directory junction (symlink) equivalent to mklink /j

I am developing a web application with php in windows environment and I am using symlink to avoid redundancy. I made the symlinks with mklink /j command using exec(). Today I decided to test the app ...
1
vote
1answer
144 views

Synologie NAS - Using Symbolic Link with SFTP

In advance, sorry for the spelling errors. English isn't my first language, I will try to be as clear as possible. I am trying to interconnect folder between them inside my NAS. Example : I have a ...
0
votes
1answer
300 views

when trying to instal wickRme on 18.04 I get the following error

sudo gdebi WickrMe_4.44.04-01_amd64.deb ... This package is uninstallable Dependency is not satisfiable: libicu55 Then I tried searching for a match apt-cache search libicu but on install attempt ...
0
votes
1answer
1k views

User permission denied to follow Softlink in root's home

I have a directory containing a load of files and would like to access and using it as user, via a Softlink in the /opt directory, but keeping it in the /root directory: root@computer:~# ll ...
0
votes
0answers
241 views

Cannot link EGL

I have installed the latest NVIDIA drivers and tried to link EGL library, but somehow it does not work. g++ -o hello hello.cpp -lEGL hello.cpp:2:23: fatal error: EGL/egl.h: No such file or directory ...
1
vote
0answers
992 views

Failed to create symbolic link, Function not implemented

I am using this command sudo ln -s '/mnt/2TB_more_data_01_06_2018/AAAAA/Android/SDK/system-images' '/mnt/240_data_30_05_18/AAAAA/Android/SDK/system-images' Both the partitions are ext4 There is no ...
0
votes
0answers
42 views

Should I fix broken links in docker-container?

First, I want to say that I am not a programmer, in case of giving ridiculous info. I have built a container for a specific project. For some reasons, I listed the content of /usr/include and /usr/...
0
votes
1answer
107 views

mounting server dir to local dir

How can I mount server dir to local dir using the following command: sshfs -o follow_symlinks I have a hard time to configure it. Thanks
2
votes
1answer
474 views

How to create a udev rule for two devices with the same manufacturer id, product id, and serial number?

I have two lidars. And in my code I need to provide the lidar port: ttyUSB0/ttyUSB1 etc... I have this udev rule. (/etc/udev/rules.d/rplidar.rules) rplidar.rules # set the udev rule , make the ...
-1
votes
1answer
247 views

help with symbolic link to samba share

On my gio-mounted NAS, I have a directory which I can access via ls /run/user/1001/gvfs/smb-share:server=diskstation,share=video. To make it easier, I mkdir /mnt/diskstation and do sudo ln -sf /run/...
1
vote
1answer
126 views

How to soft link an app to add it's shortcut to start menu in xubuntu?

I'm launching tor browser from my home folder. I want it's shortcut to be placed in my start menu. I'm using xubuntu 18.04. I tried the following but the shortcut is not appearing in start menu. ln -...
1
vote
2answers
421 views

Docker Symlink from shared folder in virtualbox

I'm working on a test server, on my computer. Where I have installed Ubuntu server, as a VM in virtual-box. Version 5.2.8.r121009 Specs: Ubuntu 17.10 4.13.0-21-generic Docker version 18.04.0-ce, ...
2
votes
1answer
78 views

Make link open target file, not file at link location

Sorry for the tags. I don't know whih one applies. Please remove not pertaining ones, then delete this line. Or comment, and I'll do it myself. Background I want to put a link to a file located in /...
2
votes
2answers
1k views

Create symbolic link on a USB stick drive

I want to create a symbolic link of a file, such that both the source file and its symbolic link are inside my USB stick drive. I have tried two method as follows: 1- Right click and then "Make Link"....
0
votes
0answers
10 views

Read-only view on folder with filtering

Is there a way to create a read-only view on one folder and also apply filtering on files or folders? There is a tool called rofs that goes a little in this direction, creating read-only mounts on ...
5
votes
2answers
473 views

What kind of link to /bin/systemctl is /sbin/reboot?

Stupid question here. I see that /sbin/reboot seems to be a link to /bin/systemctl. However it does not behave as a "simple" link because calling /bin/systemctl is not the same as /sbin/reboot. Also, ...
3
votes
1answer
2k views

writing udev rule for USB device

I have 3 USB to serial devices connected via an USB hub to the PC.They are assigned device paths (ie; /dev/ttyUSB0 or /dev/ttyUSB1 or /dev/ttyUSB2 ) based on the order of plugging in. My application ...
0
votes
1answer
82 views

403 on localhost after adding symlink

I deleted the folder /var/www and created symlink like this: ln -s /home/user/Dropbox/dev/www/ /var/www here it is ls -l /var lrwxrwxrwx 1 www-data www-data 32 мар 29 18:34 www -> /home/user/...
6
votes
2answers
163 views

Desktop shortcut to Bash script crashes and burns

I created a link in Nautilus in the ~/bin directory for a bash script located there. Then I cut and pasted the link into the ~/Desktop directory. When I click on it nothing appears on the screen. If ...
4
votes
2answers
486 views

How do I disable the 'open' command, knowing that it is just a link to the 'openvt' binary?

I'd like users to be able to install my command line tool... https://github.com/occam-proof-assistant/Open-CLI ...globally and run it from the terminal by typing open. The NodeJS package manager, ...
0
votes
1answer
224 views

Create a nice alias for a smb share for the command line

So I would like to be able to use my smb share convienently, however gvfs gives it a rather complex name. I have tried a symlink like this to a pre-existing directory /mnt/qnap: ln -s /var/run/user/...
1
vote
1answer
4k views

Can't create symlink

I'm trying to create the following symlink ln -sv $LFS/tools / but I keep getting this error message: ln: failed to create symbolic link '/tools': File exists I'm having some trouble understanding ...
2
votes
2answers
3k views

ln: invalid option — '/'

I have a situation with ln and cannot solve this even after I've read about ln in help. Running the following command: ln -sf /lib/modules/$kernel_version/extra/mISDN_core.ko /lib/modules/$...
0
votes
1answer
55 views

Unable to link executable .jar file

I am new to ubuntu linux command-line. I am trying to link an executable .jar file in a folder that I added to the PATH. The folder is /software_library/bin which is the default PATH, where I should ...