Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
THIS PROGRAM ACCEPTS ONLY COMMANDS WHICH ARE VALID WITHIN "/bin" I WANT TO MAKE IT GENERAL SO THAT IT CAN ACCEPTS ALL THE COMMANDS AND CAN WORK PROPERLY....
please help me....
//a prog to create a shell which do the same work as bash shell
#include<stdio.h> // header files required for program
#define SIZE_OF_BUFFER 100// buffer which is used for command line arg
#define SIZE_OF_COMMAND 30
extern char **environ;