1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with coding my own shell in C, Unix environment

  1. Oct 22, 2011 #1
    1. The problem statement, all variables and given/known data

    Need to write my own shell in C for a Programming assignment. It must also support piping, redirection, and appending.

    2. Relevant equations

    The professor provided a preliminary version of the program that supports piping, but not redirection of either input or output, and of course no appending. (So <. >, and >> do not work)

    3. The attempt at a solution

    Due to personal problems, I didn't get to start on this assignment as early as I would have liked. The professor did not go over how to implement the logic for <, >, or >> in class, and the tutorial link he provided only explains how processes work and how to play with them somewhat, but it didn't explain how to implement redirection or appending.

    Would anyone happen to know of some good tutorials I could reference on this sort of thing to get this assignment done?

    Thanks
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?



Similar Discussions: Help with coding my own shell in C, Unix environment
  1. C core help! (Replies: 0)

Loading...