HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL
SHELL SCRIPT?
Answer Posted / nimal
#!/bin/sh
for i in {1..10)
do
echo "creating user"$i;
useradd user$i;
done
to list the created users.
cat /etc/passwd
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How to get the first line from a file using just the terminal?
wats the deinitions for shell utility and filter?
What is sed in shell script?
Explain about "s" permission bit in a file?
How will you pass and access arguments to a script in linux?
what is tickets $ what low,medium,high priorite pls define time also
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
Is shell script a programming language?
Write the syntax for "if" conditionals in linux?
What is @echo off?
What is console line?
What is shell and terminal?
How can the contents of a file inside jar be read without extracting in a shell script?
Why do we write bin bash in shell scripts?
How would you compare the strings in a shell script?