Hi guys, I'm still working on my shell. I'm trying to implement a function typefile that will take a command line input as follows: > type...
Changing scanf to fgets fixed it (not sure why). As long as I don't try to printf NULL pointers, like you said dawei. thanks
But if I type the following this is what I see: o-shell>exit exit exit exit was entered There are 0 arguments Command is exit Segmentation...
I redid my code and it partially works right now. I can use strtok to find the first input in the command line, but cannot get the arguments....
I admit that I'm a total newbie, this is the first C program I've written in a long while, and that was just freshman intro to programming :D...
Hi everybody. I haven't programmed anything in about 8 years, I've read up a little bit on C and need to write a shell in C. I want to use...
Separate names with a comma.