Find all the missing paths in the PATH variable in bash script

2011-01-20 1 min read bash Fedora Learning
Here is a simple script that will list out all the paths in the PATH variable that do not exist. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 <td> <div class="text codecolorer"> #!/bin/bash -<br /> #===============================================================================<br /> #<br /> # FILE: wrong_path.sh<br /> #<br /> # USAGE: ./wrong_path.sh<br /> #<br /> # DESCRIPTION: Show Directories in the PATH Which does NOT Exist<br /> #<br /> # OPTIONS: ---<br /> # REQUIREMENTS: ---<br /> # BUGS: ---<br /> # NOTES: ---<br /> # AUTHOR: Amit Agarwal (AKA), amit. Continue reading