We have been able to understand how to use the getline() to take user inputs however the goal is to write a simple c_shell that takes in arguments and executes it.
And if we take a closer look at how our bash shell program works, it actually breaks down the string we pass to it as tokens and sees them independently. so if we're going to be writing our own shell, we have to apply same concept more so we're soon going to be talking about the execve() syscall that executes our commands.
Thus this video helps us with that concept which is very very needed in preparation of using our execve() syscall.
Enjoy the video, drop your questions if you have any, I'll also appreciate your contributions, your shares and likes.
cheers
sammykingx