print command in bash 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)"
echo This is how you print!
#!/bin/bash
DDAY="15-aug-2007"
echo "D-Day is on $DDAY"
echo "Today is $(date)"
echo "Linux version : $(uname -r)"