ok i have a project that i have to do.. i have to creat a shell with home, root, xlordt dirs.. but i dont know how to start it... i need to creat it in structures... the part that i dont get is how do i creat the dirs... for the commands.. i can just.. do

char *cmd[5]={ls, ca, pwd,};

if this is correct...

i am creating this on a linux o/s i know this is not the right place to post it but the results here are lots more higher then the linux forum.... thanx.. anyhelp would do btw.. i also have to use the switch statment but that comez later with the commands.... i think