DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash check if executable
file='test.sh' if [ -x "$file" ]; then echo "This file is executable: $file" fi
PREVIOUS
NEXT
Tagged:
#bash
#check
#executable
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit