April 19, 2023

How To Surf A Website From Ubuntu Terminal

Abhishek Thakur

Browsing the internet without a graphical user interface may seem challenging, but it is possible using the command line interface in Ubuntu. In this blog post, we will show you how to surf a website using the Ubuntu CLI with the Lynx text-based web browser.

What is Lynx? Lynx is a text-based web browser that allows users to browse the internet from the command line. Lynx is available for Linux, Windows, and Mac operating systems. It is lightweight, fast, and easy to use.

How to Install Lynx on Ubuntu By default, Lynx is not installed on Ubuntu. However, you can install it using the following command in the terminal:

sudo apt-get install lynx

How to Surf a Website Using Lynx Once you have Lynx installed, you can start surfing a website by typing the following command in the terminal:

lynx <website URL>

For example, if you want to surf Google’s homepage, type:

lynx https://www.google.com

When you run this command, Lynx will retrieve the HTML code for Google’s homepage and display it in the terminal window. You can use the arrow keys to navigate the website and the Enter key to select links.

You can also use Lynx to download files from a website. For instance, if you want to download an image from a website, move the cursor over the image and press “d” to download it.

Conclusion In this blog post, we’ve shown you how to surf a website using the Ubuntu CLI with the Lynx text-based web browser. Lynx is a powerful tool for browsing the internet from the command line, and it is easy to use once you get the hang of it. By following the simple steps outlined above, you can easily browse websites from the Ubuntu terminal.


Buy Dedicated Server

Popular Blog Posts