bash script print code example
Example 1: print in bash
echo This is how you print!
Example 2: print in shell script
#!/bin/bash
DDAY="15-aug-2007"
echo "D-Day is on $DDAY"
echo "Today is $(date)"
echo "Linux version : $(uname -r)"
Example 3: print statement in bashrc
echo "things to be printes or echoed"