About 128,000 results
Open links in new tab
  1. How can I symlink a file in Linux? - Stack Overflow

    Nov 7, 2016 · I want to create a symbolic link in Linux. I have written this Bash command where the first path is the folder I want to link, and the second path is the compiled source. ln -s '+basebuild+'/IpDome-

  2. How to create a link to a directory on linux - Stack Overflow

    How to create a link to an existing file or directory using a GNU Linux shell command?

  3. What is the difference between a symbolic link and a hard link?

    Oct 9, 2008 · The inode is only deleted (or deletable/over-writable) when all links to the inode have been deleted. A symbolic link is a link to another name in the file system. Once a hard link has been made the link is to the inode. Deleting, renaming, or moving the original file will not affect the hard link as it links to the underlying inode.

  4. Telling gcc directly to link a library statically - Stack Overflow

    Clarification: I know that if a certain library exists only in static versions it'll use it without -Wl,-Bstatic, but I want to imply gcc to prefer the static library. I also know that specifying the library file directly would link with it, but I prefer to keep the semantic for including static and dynamic libraries the same.

  5. linux - Remove a symlink to a directory - Stack Overflow

    If rm cannot remove a link, perhaps you need to look at the permissions on the directory that contains the link. To remove directory entries, you need write permission on the containing directory.

  6. How to link and compile with .so file in Linux - Stack Overflow

    Oct 2, 2013 · I am having .c and .so file. I tried by using the following compilation: gcc main.c -ldl. In that .c file i linked to .so file through dlsym(). How to compile using .so file with .c.

  7. bash - How to check if a symlink exists - Stack Overflow

    Jan 6, 2017 · -L returns true if the "file" exists and is a symbolic link (the linked file may or may not exist). You want -f (returns true if file exists and is a regular file) or maybe just -e (returns true if file exists regardless of type). According to the GNU manpage, -h is identical to -L, but according to the BSD manpage, it should not be used: -h file True if file exists and is a symbolic link ...

  8. What is the purpose of creating a symbolic link between files?

    Oct 10, 2019 · Recently I came across the os library in Python and found out about the existence of symbolic links. I would like to know what a symbolic link is, why it exists, and what are various uses of it?

  9. Is there a way to edit a symbolic link without deleting it first?

    So I created a symbolic link: ln -s /location/to/link linkname Now I want to change the location that the symlink links to. How do I do that? Is there a way to do it without deleting it first?

  10. linux - how can I link a shared object in C? - Stack Overflow

    Dec 16, 2011 · I made a simple program that uses a shared object, opening it with dlopen(). I also compiled and linked the shared object like below: gcc -o libmylib.so libmylib.c -shared -fPIC -Wall gcc -o prog...