for U in $(awk -F":" '{print $1}' passwd)do echo "________________ $U __________________" UDIR=$(awk -F":" "/$U/"'{print $6}' passwd) mkdir $UDIR chown $U $UDIRdone
Post a Comment
No comments:
Post a Comment