HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL
SHELL SCRIPT?
Answer Posted / dibala
#!/bin/ksh
set -x #on
#variable
i=1
while [ i let 10 ]
do
/usr/sbin/useradd user$i -d /home/user$i -s /bin/ksh -m
user$i
i=$(expr $i + 1)
done
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is batch file programming?
Is shell and terminal the same?
Is powershell a bash?
What are the different variables present in linux shell?
What are types of shells?
what is tickets $ what low,medium,high priorite pls define time also
What are the different types of shell scripting?
Tell something about the super block in shell scripting?
How to find duplicate record in file using shell script?
How do I run a script from command prompt?
What is an sh file?
How do I open the shell prompt?
What are the different types of variables used in shell script?
What's the difference between scripting and coding?
What shell is bin sh?