Top "Ln" questions

Use this tag for questions related to the `ln` (link) command.

LINUX: Link all files from one to another directory

I want to link ( ln -s ) all files that are in /mnt/usr/lib/ into /usr/lib/ There are lots …

linux ln
How to use MAMP's version of PHP instead of the default on OSX

I would like to use MAMP's version of PHP instead of the default installed on my mac. I tried using …

php mamp ln
What is the Unix command to create a hardlink to a directory in OS X?

How do you create a hardlink (as opposed to a symlink or a Mac OS alias) in OS X that …

macos bash filesystems unix ln
Symbolic link not inheriting permissions

For example, I have foo.sh with 770 permissions. When I do: ln -s foo.sh bar.sh The link bar.…

shell ln
Enable native NTFS symbolic links for Cygwin

Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd …

cygwin mingw symlink ntfs ln
Makefile and symbolic links

I'm experiencing a strange problem with a makefile. I simply want to set a symbolic link in the makefile but …

linux makefile ln
Create broken symlink with Python

Using Python I want to create a symbolic link pointing to a path that does not exist. However os.symlink …

python symlink ln
Recursively symlink directory tree

I'm trying to run a recursive symlink from one directory into another: find data/* -type d -exec ln -s {} current/{} \; …

bash macos recursion ln
Symbolic link in makefile

Consider the following makefile: SHELL = /bin/sh MY_DIR := $(realpath ./) BASE_DIR := $(realpath ../..) BASE_SRC_DIR = $(BASE_DIR)/src BASE_…

makefile ln
Can I add a file by putting the symbolic link in the git repository?

Is there a way to push a file external to the git repository by putting a symbolic link. I want …

git ln