not able to find file is executable or not in bash

前端 未结 0 1463
天涯浪人
天涯浪人 2021-02-04 19:04

I am executing below script to verify if file is executable or not.

sample script:

#!/bin/ksh
touch /tmp/abc.txt
FILE=/tmp/abc.txt
chmod +x $FILE
if [ -x $         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题