How to build a custom terminal in linux?
I want to build a custom linux terminal that would deal with api's of certain websites directly from the terminal . Yes I know , Curl ca开发者_StackOverflown do that too . But lets say the content of the website are now in your computer and the website is offline . Thus using this terminal I would like to access those contents and make changes to them . Again this also can be done using the linux terminal , but I would like this terminal to be very specific and have its own syntax and semantics .
For example , the ruby terminal from which you can run various ruby code without actually compiling them .
Thus what books should I read and how should I go about it in building this ?
Making changes on a site (like this site) not only involves some HTML content, but also a lot of code that runs on web server side. This is what you can't replicate with curl
and possibly with any reasonably small amount of work at all.
'Terminal' is probably a wrong word; it seems that you just want a command-line app, as opposed to a GUI or Web app.
Please try to describe a more specific scenario. Your question is currently too vague.
I liked "Kernel projects for Linux" by Gary Nutt. It will help you in learning the design of a shell, and how the shell interacts with the operating system.
Maybe to configure web server to respond to local HTTP queries and use console based web browser like elinks or lynx
精彩评论