Simplest way to know about executable files


If the */tmp *directory contains any of the executable file, all the sites stops. The simplest way to know executable file in a directory is by using *-F *option with *ls* command, which distinguishes directory and executable files from ordinary files. The -F option causes a slash (/) to be appended to the filename for directories and an asterisk (*) to be appended to files which are executable. For example,

*$ ls -F*