You need to check on the command line
1 answer
How to check whether all directories are registered in the PATH, there are executable files?
for example:
$ for d in $(echo $PATH | sed 's/:/ /g'); do \ r=$(find $d -type f -executable | wc -l); [ $r -eq 0 ] && \ { echo "не во всех. например, тут нет: $d"; break; }; done example output:
не во всех. например, тут нет: /opt/bin And how to remove non-executable?
Non-executable files can be deleted, like any other files, for example, with the rm program:
$ rm /путь/к/удаляемому/файлу |
.keep, which is not executable. But its presence is necessary to emerge, the package installation manager, so that he knows that such a directory can never be deleted - Mike