There are JavaScript libraries that allow to write command line applications in browser as standalone Web apps or as part of bigger application.jQuery Terminal Emulator An example of such a website is the CLI interface to DuckDuckGo.DuckDuckGo TTY There are also Web-based SSH applications, that allow to give access to server command line interface from a browser.
