[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Shell scripting help
- From: Mikevl <Mikevl paradise net nz>
- To: "'Redhat-List (E-mail)" <redhat-list redhat com>
- Subject: Shell scripting help
- Date: Sun Dec 1 12:15:58 2002
Hi
Can anybody help with this simple script
Command is useradd userfile
useradd
userfile=$1
s=0
for i in 'cat $userfile ';do
$NAME='cut -d : -f1'
echo $NAME
done
userfile
name:password:detail:UID
name:password:detail:UID
name:password:detail:UID
name:password:detail:UID
name:password:detail:UID
Many Thanks
Mike
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]