I want to check whether a file is not executable or not?
means instead of knowing whether a file is executable or not:
if [ -x file ]
...........
I want to check:
if file is not executable
I want to check whether a file is not executable or not?
means instead of knowing whether a file is executable or not:
if [ -x file ]
...........
I want to check:
if file is not executable
if [ ! -x file ]