Sorry to bother; however, I was wondering if anyone could assist me in code for a change directory function as an internal command.
Pretty much I am coding my own unix shell. I need to be able to internally code a 'cd' command to use in the syntax:
If anyone can offer some insight I would be greatful!
ps. would the getcwd() function be able to keep track of these directory changes?