Since posting without using [CODE] ... [/CODE] tags did not preserve your tabs, it's a bit hard to see what you are trying to do. I presume you want those arguments all aligned regardless of the length of the label. Doing that with
echo is going to be difficult. Use
printf:
Code:
#!/bin/bash
printf "%-32s %s\n" "File Name :" "$0"
printf "%-32s %s\n" "First Argument :" "$1"
printf "%-32s %s\n" "Second Argument :" "$2"
printf "%-32s %s\n" "Quoted Values :" "$*"
printf "%-32s %s\n" "Total Number of Arguments :" "$#"
printf "%-32s %s\n" "PID of the scipt :" "$$"
printf "%-32s %s\n" "PID of last background process :" "$!"