• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Access google from Linux Terminal

{{postValue.id}}

To Access google from Linux Terminal

In this article we will discuss how to access google from terminal using w3m command. World Wide Web(w3m) is a tool to view the html documents.

Run the following command to install w3m tool.

root@linuxhelp1:~# apt-get install w3m -y
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Suggested packages:
  w3m-img libsixel-bin w3m-el cmigemo
The following NEW packages will be installed:
  w3m
0 upgraded, 1 newly installed, 0 to remove and 155 not upgraded.
Need to get 892 kB of archives.
After this operation, 2,388 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 w3m amd64 0.5.3-26build1 [892 kB]
Fetched 892 kB in 4s (191 kB/s)
Selecting previously unselected package w3m.
(Reading database ... 206363 files and directories currently installed.)
Preparing to unpack .../w3m_0.5.3-26build1_amd64.deb ...
Unpacking w3m (0.5.3-26build1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up w3m (0.5.3-26build1) ...

After installing, access the google by using the following command.

root@linuxhelp1:~# w3m www.google.com

Access-google-from-Linux-Terminal-w3m-command-access-google
You can login to gmail account as shown in the following command.
Access-google-from-Linux-Terminal-w3m-command-login

Access-google-from-Linux-Terminal-w3m-command-start-searching
To logout, choose the sign out option.
Access-google-from-Linux-Terminal-w3m-command-sign-out

Access-google-from-Linux-Terminal-w3m-command-search
Lets try a Google search results for “ linuxhelp”
Access-google-from-Linux-Terminal-w3m-command-linuxhelp
Open the link in the search result.
Access-google-from-Linux-Terminal-w3m-command-Open-link
Now try to open the youtube site.

root@linuxhelp1:~# w3m www.youtube.com

Access-google-from-Linux-Terminal-w3m-command-open-youtube

Tags:
mason
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to set the environmental variable so that I can access from anywhere?

A

Set the BROWSER environment variable as follows:
export BROWSER=w3m

Q

But we don't get any graphical interface for this?

A

No this is command line utility

Q

Is there any best alternative for w3m ?

A

The Tools like Lynx, Links,Dillo , etc. are the alternatives for w3m

Q

How to install links in fedora?

A

It's Simple, just use following command to install Links "dnf install links"

Q

Is youtube dl is used in Centos same like rhel?

A

Yes you can it supports all rpm based distributions.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.