Shell Programming

 
  1. Hello World
#!/bin/bash
echo "Hello World!"
  1. Creating Linux User and Password by using path variabls
#!/bin/bash
#$1 is the first variable,$2 is the second variable

useradd "$1"

echo "$2" | passwd ‐‐stdin "$1"