How to run a C program on terminal
Hi guys,
So for my assignment, I have to write a shell in C and include functions such as cd,pwd and exit, among others. my question now is how do I run my program? I did gcc -std=c99 myShell.C, (-std=c99 flag, because it did not agree to initialize a variable in a for loop) and it compiles with warnings. So now, I would like to test and see if my functions work, but I have no idea how to do that. Thanks in advance.
|