is unknown.
Subject: RE: Importing Date to Bash Script
>what is the correct sytax for importing the system date and time into a
bash >script?
>
>I need to assign this to variable that I can manipulate.
TODAY = $(date)
YESTERDAY = `date --yesterday`
echo "Today is $TODAY"
e
>what is the correct sytax for importing the system date and time into a
bash >script?
>
>I need to assign this to variable that I can manipulate.
TODAY = $(date)
YESTERDAY = `date --yesterday`
echo "Today is $TODAY"
echo "Yesterday was $YESTERDAY"
You use backticks to capture the output of a pr