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
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What does path stand for?
Can you write a script to portray how set –x works?
How to open a read-only file in the shell?
What is shell scripting?
What is echo $shell?
how will you find the total disk space used by a specific user?
How to get the last line from a file using just the terminal?
What are the disadvantages of shell scripting?
What is ms powershell?
What are filters explain sort with all the options available?
How to set an array in linux?
What is difference between shell and bash scripting?
Is powershell a bash?
How do I run a script on mac?