How to open websites in Linux terminal

This is very small and handy geek, i think most of us were didn’t knew this at first including me, it may or may not be correct which i’m going to share here. Now, i’m going to explain how to open the websites in linux shell. You can use links or elinks command to view the websites. The package should be installed on your server as default, if it is not so you need to install and use the amazing command.

1) To check the package Red Hat / Fedora Linux / Suse Linux / Cent OS

To check whether the package is installed or not on your server, use the below syntax.

Syntax :# rpm -qa | grep [Package-Name]

Now, i’m going to check the package (links & elinks) whether installed or not in our server.

# rpm -qa | grep links
symlinks-1.2-26.el5
elinks-0.11.1-8.el5_9

The output is showing both packages are installed in our server, Now i’m going to browse the website from linux bash shell.

2) To check websites in Linux terminal

To check the website in linux use the below two commands to view it.

[email protected] [~]# elinks https://www.2daygeek.com
or
[email protected] [~]# links https://www.2daygeek.com

Output:

The below output clearly showing my site in linux shell prompt, you can use the mouse to click any other link/pages smiler as browser.

                                                       Linux Tips :: Tips and Tricks On Unix | MySQL Tutorials | Seo Tutorials | cPanel Tutorials - 2daygeek.com (1/3)
   Link: profile
   Link: pingback
   Link: 2daygeek.com >> Feed (alternate)
   Link: 2daygeek.com >> Comments Feed (alternate)
   Link: RSD (EditURI)
   Link: wlwmanifest
   Link: next
   Link: canonical
   2daygeek.com
                                                                                    Follow us on Twitter Follow us on Facebook Follow us on Google PlusSubscribe RSS
   Skip to content

     * Home
     * About Me
     * Contact Us
     * Disclaimer

                                                          Exim mail issues "554 rejected due to spam content"

   exim-mail-issues-554-rejected-due-to-spam-content

   Hi Guys, I had a pleasant surprise to you all.. I'm very glad to explain you about the mail "delivery failed : 554 rejected due to spam content " issues which i
   was faced for the past 6 days and I had found-out the root causes of issues and resolved the same. In our concern, [...]

                                                                File Viewing command Practical Examples

   file-viewing-command-practical-examples

   File viewing command is very important to view the file contents, for that reason I had created the file called "test" and creates a definition and added numbers
   (1 to 50) to experiment all the file viewing commands. Command Short Description cat To Print the file contents in screen. less To Print the file contents [...]

                                                            How to Delete Files Older Than x Days in Linux

   To-Delete-Files-Older-Than-x-Days-in-Linux

   In Linux everything is possible, See the below challenging command. In Linux you can combine more than one command and perform the action which you want.

                                                         How to summarize the size of each directory in Linux

   how-to-summarize-the-size-of-each-directory-in-linux

   The best and easiest ways to determine what folders contain the most data in Linux, use the following commands to quickly summarize the size of each directory.
http://gmpg.org/xfn/11                                                                                                                                  [------]

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...