Question

How to run a browser inside Ubuntu 14.04.1 from the command prompt #

  • Posted January 21, 2015

Remote login into my droplet Droplet OS is Ubuntu 14.04.1 I am starting a web-server using Python code from the command prompt
Web-server is up and running Now I need to run e.g. http://0.0.0.0.1234 request from the command line, but I cannot as the command line is running webserver.

Thanks in Advance

Subscribe
Share

Ryan,

Thanks for the help, this works for me. Curl and Screen session did the trick.

Basharat

As far as running a browser in the console, there are a few out there with minimal support for modern web technologies. If you do not need to execute javascript in the page going with something like curl, elinks, lynx, or w3m may do the trick for you.

If your web server is blocking the console you may want to run it from within a screen session. This will allow you to execute your server and be able to switch and run another command from the console.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

This question was answered by @ryanpq:

As far as running a browser in the console, there are a few out there with minimal support for modern web technologies. If you do not need to execute javascript in the page going with something like curl, elinks, lynx, or w3m may do the trick for you.

If your web server is blocking the console you may want to run it from within a screen session. This will allow you to execute your server and be able to switch and run another command from the console.

View the original comment