ln Questions

3

Solved

I have this command: ln -sf src/* lang/golang/src/genericc/ I want to symlink all the files in src to the existing genericc directory, but when I run the above command I get broken symlinks in t...
Russia asked 5/1, 2019 at 4:29

3

I am trying to setup NVMe over Fabrics using post "https://community.mellanox.com/s/article/howto-configure-nvme-over-fabrics". I could reach step 10, but when I try to create the soft li...
Paddock asked 25/2, 2020 at 19:54

2

I have a the following folder : Folder A Folder B (which is a symbolic link to Folder A) The issue is that when I access Folder B, I can go infinitely deeper (ie Folder A > Folder B > Folde...
Minnesota asked 8/7, 2019 at 19:20

10

Solved

I would like to use MAMP's version of PHP instead of the default installed on my mac. I tried using ln -s /Applications/MAMP/bin/php5.3/bin/php php but I get a "File exists" error. What's the b...
Lansing asked 23/11, 2010 at 23:15

5

When I try to symlink a binary in my /usr/bin folder, I get an Operation not permitted error: sudo ln -s /usr/bin/python2.7 /usr/bin/python2 ln: /usr/bin/python2: Operation not permitted ...
Ewan asked 19/4, 2016 at 22:23

5

Solved

Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or junction tools. NTFS symbolic link can also be used a...
Blate asked 6/9, 2013 at 9:14

14

Solved

How do you create a hardlink (as opposed to a symlink or a Mac OS alias) in OS X that points to a directory? I already know the command "ln target destination" but that only works when the target i...
Bekah asked 17/9, 2008 at 7:43

2

Solved

Is there a way to push a file external to the git repository by putting a symbolic link. I want for instance to push the file /root/my_file and have created a symbolic link my_symbolic_link in the...
Unthread asked 8/10, 2016 at 17:25

1

Solved

I'm translating Linux commands to a python script. How would I perform the Linux command 'ln -s' CMD: ln -s /users/me/link_file hello I want to link 'hello' to 'link_file' in python T...
Erleena asked 8/3, 2018 at 21:27

2

Solved

I have a file that was deleted, but is still held open my a program. I found the inode number using lsof. How can I create a hard link back to that inode? Any code helps, but Perl would be handy. ...
Decker asked 24/7, 2009 at 15:59

1

Solved

I have been trying to install NetLogo under my Ubuntu setup. I have downloaded the latest NetLogo 5.3 files and have extracted them. I placed the files in the /opt/netlogo-5.3.0/ directory. I then ...
Vaud asked 4/1, 2016 at 10:56

1

Solved

I was changed directory name. In this directory thousands of files. Some projects use this files, projects have got symlinks on it. How to find all symlinks, which have got folder name in their a...
Emmanuelemmeline asked 24/6, 2015 at 7:21

3

I have a git repository sitting as ~/a. At the same time, I have some stuff from ~/b/content/data/, which will be updated by another application. For backup purposes, I would like to add ~/b/co...
Threesome asked 15/11, 2014 at 23:55

1

Solved

I have a linux directory (and don't need any windows checkout): /home/me/projects/project1 In this project, I need SVN (1.8.8) to follow a symlink "link1": /home/me/projects/project1/link1/<...
Belittle asked 20/7, 2014 at 13:13

1

I don't use ln command on daily basis, so when I need to create a link to a file, I always forget whether it's ln <target file> <link name>, or ln <link name> <target fil...
Lionhearted asked 7/5, 2014 at 18:30

3

Is there a way to create a file in Linux that link to a specific iNode? Take this scenario: There is a file that is in course of writing (a log maybe) and the specific file is deleted but a link in...
Jaela asked 12/8, 2013 at 21:59

3

Solved

the basic idea is that I want to link to path that's relative to $HOME, rather than explicitly expand the $HOME variable, as I want to make sure the link works on multiple machines, e.g., when I d...
Microampere asked 27/10, 2011 at 17:26

2

Solved

For example, I have foo.sh with 770 permissions. When I do: ln -s foo.sh bar.sh The link bar.sh has 2777 permissions. Why is this? I thought they were meant to be inherited?
Starknaked asked 20/9, 2011 at 15:34

4

Solved

Using Python I want to create a symbolic link pointing to a path that does not exist. However os.symlink just complains about "OSError: [Errno 2] No such file or directory:".. This can easily be do...
Clein asked 19/11, 2009 at 12:3

4

I want to link ( ln -s ) all files that are in /mnt/usr/lib/ into /usr/lib/ There are lots of files, how can it be done quickly? :)
Lately asked 28/8, 2009 at 13:49
1

© 2022 - 2024 — McMap. All rights reserved.