Skip to content
QuasiRavePublic

About

A Linux CLI utility to easily find softlinks, hardlinks and/or target file of a particular file in any location in the file system.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Linkgrep

A Linux command-line utility written in C for exploring file relationships. It can locate symbolic links and hard links, trace back to their target files and show links associated with a given file.

Features

  • Shows file name, inode, link count, file type and softlinks/hardlinks or target file location.

Build

gcc -g main.c filetype.c link_probe.c fs_traverse.c -o linkgrep

Usage

./linkgrep -f target_file_path directory_to_find_links Eg: ./linkgrep -f /bin/gcc /bin

./linkgrep -l target_softlink Eg: ./linkgrep -l /sbin/init

About

A Linux CLI utility to easily find softlinks, hardlinks and/or target file of a particular file in any location in the file system.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages