if i use
[ -f $file] to check if its a file
what do i use to check if the file is executable?
This is a discussion on Executable file within the Linux Programming forums, part of the Platform Specific Boards category; if i use [ -f $file] to check if its a file what do i use to check if the ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
-x
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]