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 subshell?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
How do I run a shell script in powershell?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
What is the difference between bash and shell?
What is wc in shell script?
How do I edit a .sh file?
What is mac default shell?
Is powershell a bash?
What is path variable bash?
What are the advantages of shell scripting?
What are "c" and "b" permission fields of a file?
What is ms powershell?
What is the best shell scripting language?
What is the use of "$#" in shell scripting?