Okay Welcome can make in this lecture we're going to create an iterative loop which will help us in
turning our commands continuously and we don't have to go back to main menu again and again because
our current well enough program just dates in command and returns the reserves and then goes back to
them in program.
So what we want to do is we want to avoid going back into the main loop so we will add some modifications
in our existing program and try to make it more continuous.
So the first thing we need to do is really try to create a loop.
We will use the same logic that we used in our previous for unified command execution.
So we create a loop control and then we will try to iterate over this Loop control and modify if our
stop condition is met.
So let's say let's create a new variable Carter loop control
equals true.
Okay.
Once we have this our next step would be to be this on that before we get our input from the user.
We will print out our initial working directly and then we want to repeat the same process from here
Bill and again and again delay user it is that stop application.
We will start our loop here.
So I'm going to go for loop control and then I'm going to start my loop here.
And then before that if you've done statement I'm going to finish my loop here.
So every process that I was doing that for example reading commands sending to the machine turning on
the victim machine and getting back the results.
Everything should be inside this food so we can repeat this process over and over again.
So.
And one more thing we need to change here.
We need to sit in this shell.
We need to set the initial present working directory which is this one to the new working directory
which is this one at the end of the loop.
So we get the modify and modify the working directory
okay so So server side is completed in next lecturing will focus on our.