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
Is shell script a programming language?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
Which is better perl or shell scripting?
Why is used in shell scripting?
What are the zombie processes?
How do I run a shell script in powershell?
Is shell scripting useful?
What are the 3 standard streams in linux?
What is echo $shell?
determine the output of the following command: echo ${new:-variable}
How to print pid of the current shell?
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 does chmod do?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is c in shell script?