How do I find links to a file in Linux?

How do I find links to a file in Linux?
Answer
You can use
grep with ls command to list all the symbolic links present in the current directory.
…
To view the symbolic links in a directory:
  1. Open a terminal and move to that directory.
  2. Type the command: ls -la. …
  3. The files that start with l are your symbolic link files.
 

Tìm kiếm

Back
Top