please tell me what is the use of -e option in this script:
run_script.ksh -e my_email.dat test_run_all_projects.script
please tell me what is the use of -e option in this script:
run_script.ksh -e my_email.dat test_run_all_projects.script
obviously we cant tell whats the use of -e option without knowing the code of run_script.ksh. you have to put the source code of run_script.ksh
-e is nothing but an option and it requires an arguement that you are passing. I hope u r using getopts in your shell script.
do a man getopts
to understand the concept please provide the sample script.
Thanks Namish
please tell another shell script meaning :
where LOG_DIR is directory which contains log file
:find $LOG_DIR -type f -name "log*" -atime +7 |while read i
This would find all the files , which are accessed before 7 days.
Foe more information man find.