Oct-15-2019, 11:12 PM
i am thinking of coding a script to take command line arguments as command names and find all matches in the list of directories in the PATH environment variable and list them. if the directory has a symlink. list both the symlink and the referenced file. this would be for platforms that use the PATH variable. is there a more portable way to do this?