Skip to main content

Questions tagged [symlink]

A special type of file that references an inexistent or existing file or directory. The contents of a symbolic link consist of an arbitrary string that is the path to the file that the symbolic link points to. When the symlink is encountered during pathname resolution, the string stored by the file is used to modify the pathname resolution.

0 votes
3 answers
135 views

I understand that in unix systems symlinks can link to files and directories and are files themselves so if I want to remove a symlink I need to rm symlink without the trailing /. But they otherwise ...
Joshua's user avatar
  • 9
2 votes
1 answer
137 views

I have a script which does incremental backups with rsync (script 1). I tried to add the feature to continue unfinished jobs in another script (script 2) but this version does a full copy of the ...
ecjb's user avatar
  • 495
2 votes
2 answers
351 views

The command run to un-archive is as follows: tar -zxvpf my_files_weekly.tar.gz --exclude=/etc/ssh/ -C / > /dev/null Results in the following errors: tar: ./usr/share/doc/udev: Cannot create ...
Dennis's user avatar
  • 135
0 votes
1 answer
56 views

I have just run zypper up on a openSUSE 15.6 computer and the installation of the new kernel says dracut-install error: /sbin/sysctl is pointing to itself and indeed this symbolic link is a loop: king:...
R. J. Mathar's user avatar
1 vote
2 answers
85 views

I’m trying to create a single relative symlink pointing public/train/train back to public/train, but my command ends up nesting infinitely. For example: ln -snrf "$ROOT/public/train" "$...
Bhj's user avatar
  • 13
0 votes
1 answer
50 views

On my machine, there is a file: /var/lib/flatpak/exports/bin/com.github.tchx84.Flatseal Which is a symlink whose content is: ../../app/com.github.tchx84.Flatseal/current/active/export/bin/com.github....
Tom Anderson's user avatar
  • 1,128
1 vote
3 answers
172 views

Bash has the built-in command "type", which indicates how each argument would be interpreted if used as a command name, for instance: $ type myfunction myfunction is a function myfunction () ...
ocroquette's user avatar
11 votes
6 answers
3k views

I frequently find myself googling the difference between symbolic links and hard links. Each time, I conclude that hard links seem superior in most use cases, especially when Linux is my daily driver. ...
CouscousPie's user avatar
6 votes
1 answer
780 views

How to create an archive containing links and the linked files. I have some shared libraries of which I want to create an archive. This is what I tried mkdir dest #abc.so is a link file which points ...
Harry's user avatar
  • 239
0 votes
0 answers
36 views

For years I used a setup where I have a CIFS mount to a windows share directory. This directory contains symlinks to other windows location. Trying to replicate this on the latest raspberry pi OS (...
Thomas Renault's user avatar
0 votes
2 answers
138 views

On Linux, I'm looking at /proc/1/cwd. This symlink is not readable as a normal user: $ ls /proc/1/cwd ls: cannot access '/proc/1/cwd': Permission denied But /proc/1 is accessible: $ ls /proc/1 <...
codeandfire's user avatar
4 votes
1 answer
217 views

New Linux user here, freshly transitioned from Windows 10 to Fedora 41. Lot's of experience with many OS's, including various *nix and Unix-like file systems. I have a standard practice of using ...
Cornelius Dol's user avatar
0 votes
3 answers
419 views

Similar to here, but no solution was found for them either. I also tried checking the history, see if something was running 'rm' but no dice. Periodically, my device stops responding. The only ...
MadAtTheKeyboard's user avatar
0 votes
1 answer
43 views

I'm using this symlinks ln -s "$REPO_DIR/src/packages/my-project/out" "$OUTPUT_PATH" Currently, my OUTPUT_PATH only has only 1 folder out How can I make my OUTPUT_PATH has all the ...
Minh Huy's user avatar
4 votes
2 answers
320 views

I have a large set of directories and files, along with many symlinks that typically point to a directory called "shared" or to a directory or a file underneath the "shared" ...
codeforester's user avatar

15 30 50 per page
1
2 3 4 5
80