Linux Operating System (MOSC)

MOSC Banner

Needs litte bit of Linux shell sripting

edited May 1, 2012 5:24AM in Linux Operating System (MOSC) 7 commentsAnswered
Hi gurus,I am trying to write shell scripting on Linux for executing 2 commands.   I use those 2 commands at the command prompt everyday.   They are just starting and application and stopping it.  What I want is I want to create a log file with date and time stamp and then execute start/stop commands and then exit the shell,  without my pressing enter key.  It is creating log file at place where the script is located.  I want the log file should go to a particular place like /home/oracle/crnjobs.    Can someone help on this ?   Thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center