![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
implemenation of cwd()
i'm writing my own shell and implementing a few unix commands.
I'm using the readline() for input and strtk() to tokenize it. I need to implement the cwd command as an option in the shell.. Here's the layout : while true do Read a line of input using readline() tokenize the input switch token[0] do case cd change to specified directory in token[1] end case pwd print the current working directory end .....and so on My C skills are a bit rusty...could use all the help i can get Thanks in advance |
![]() |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|