NAME

printpah - check for binary in your $PATH variable an nicely print the results

VERSION

version 0.12.0

SYNOPSIS

printpath [options] [binary1 binary2 ...]

DESCRIPTION

This script displays all directories in your $PATH, one per line. If you supply one or more binary names as arguments, it checks each directory for those binaries and indicates whether they are executable.

OPTIONS

-h, --help

Show this help message and exit.

EXAMPLES

printpath rsync

Will produce output like this:

=== PATH Directories ===
/home/telatina/bin
/home/telatina/perl5/bin
/home/telatina/.local/bin
/home/telatina/perl5/bin
/home/telatina/micromamba/condabin
/opt/orbstack-guest/bin-hiprio
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
  ✓ rsync
/sbin
/bin
✓ rsync
/usr/games
/usr/local/games
/snap/bin
/opt/orbstack-guest/bin
/opt/orbstack-guest/data/bin/cmdlinks

=== Command Verification ===
rsync: found in PATH: /usr/bin/rsync

AUTHOR

Andrea Telatin <proch@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023-2025 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License