if i use
[ -f $file] to check if its a file
what do i use to check if the file is executable?
if i use
[ -f $file] to check if its a file
what do i use to check if the file is executable?
> what do i use to check if the file is executable?
A manual page
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
-x
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]