main_function() { echo Ciao echo Miao } main_function > pippo.log 2>&1
If you want to see the output while executing:
LOG_FILE=bla.log
main_function | tee -a $LOG_FILE 2>&1
Anything about Java, WebLogic, OSB, Linux etc.... this is my logbook of a navigation in the IT Technology ocean.
main_function() { echo Ciao echo Miao } main_function > pippo.log 2>&1
No comments:
Post a Comment