Koozali.org: home of the SME Server

messaage and date on same line

osiris9510

messaage and date on same line
« on: December 16, 2005, 11:18:41 PM »
god im such a noob....

how in the heck do you print a string of text and the date onto the same line into a log file!?!

osiris9510

messaage and date on same line
« Reply #1 on: December 16, 2005, 11:57:53 PM »
got it

FULLDATE=$(date)

echo $FULLDATE >> mylog.log

 :-D