13

Convert unix script in to php

view full story
linux-howto

http://www.unix.com – Hi All, I have one shell script and like to convert into GUI for user creation..Any way to convert shell script into php? Please find the below for my script. Code: $ more user.sh #!/bin/ksh set -x pwfile="/etc/passwd"    shadowfile="/etc/shadow" gfile="/etc/group" ######Want to check user account already exist############### echo "Add new user account name to create" echo -n "creation login name: "    ; read login LOG=`grep -i $login $pwfile|awk -F: '{print $1}'` if [ "$LOG" =  &qu (HowTos)