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
Hi,
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.
Also, How do I write to the message log file via the syslogd?
thanks in advance
--
robert
--
PLEASE read the Red Hat FAQ, Tips, Errata and the