Hi,<br><br>I would like to echo to a file and find whether some scripts has executed while system startup and shutdown. How can I do that? I was thinking of echoeing some message to a file while the script is executing.<br><br>Thanks in advance
Hello,Try echoing like that:<FONT FACE=monospace><b>echo</b> >> /some/file/is/the/log</font>then you can count on a cumulative log.I hope it works
Sneaking a "date" command into the echo might help as well. eg:<br><FONT FACE=monospace><br>echo "`date` nfs startup script run" >>/path/to/my/log/file<br></font><br>Note the apostrophes around "date" are the "backtic" apostrophes found just to the left of the "1" key on a UK PC keyboard.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.