Unix shell with history features like in bash
hii to all
i am developing a simple unix shell in c i want to add history feature in that how could i do that plz help if there is any tutorial or website plz put it here history feature should be like that in bash, when press up key show the previous command typed in console |
Look at the GNU readline library. As a matter of fact, bash uses the readline library IIRC. If this is a homework assignment, you'll learn a lot more figuring out how to use the library yourself.
|
All times are GMT -5. The time now is 06:19 PM. |