发表于 2018-8-25 14:09:37

shell脚本+x-LINUX初学者

#!/bin/bash  
#
  
if [-f $1 ];thenecho "file already exist" && exit
  
else touch $1 && chmod +x $1
  
fi
  
cat>>$1
页: [1]
查看完整版本: shell脚本+x-LINUX初学者