Hi , I have a menu driven script as shown below
echo ""
echo "*** 1 - option 1 " echo "*** "
echo "*** 2 - option 2 "
echo "*** 3 - option 3 "
read input1
Selecting option 1 shows another menu wherein
echo ""
echo "*** 1 - script 1 " echo "*** "
echo "*** 2 - script 2 "
read input 2
if [ $input1 -eq 1 ] && [ $input2 -eq 1 ]
then
$script_path/$script name
sleep 1
echo " Press [ ENTER ] to continue "
once the script is executed command prompt gets dispalyed .
I want to add something whereiin , I can continue running the second script [ ie no need to run the script again and supply parameters for running script 2 ( option 2) ]
Hope i have made provided enough clarity on what i tried to do
Pls suggest