Rumah > Artikel > pembangunan bahagian belakang > 一个简单shell,不按套路来,哪位高手帮看一下
一个简单shell,不按套路来,谁帮看一下
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#!/bin/bashexeuser=workeruserid=`id -nu`if [ "$userid"!="$exeuser" ];then echo "only user:worker can execuce" exit;fi