I'm writing a Shell for my Operating Systems course. It should be written in C++ using classes. I have no idea how to start. How to describe for example "ls" command" in class? I have a shell in C and also in C++ but without classes inplementation. Could somebody tell me how to start to resolve this issue? Thanks.
The shell shouldn't have too many built in commands, ls especially. It should know how to run programs and make finding programs easier, implement pipes and redirects, implement scripting and have some kind of job control.
If you're not sure what to, just start using any way you know and go from there.