Linux are limited to the operating system and you can access them anytime in your terminal. But, what to do if you want to get some specific answer related to some programming language or anything else? You’ll be opening your web browser and typing in the query to get the answer.
How to access StackOverflow from your Linux Terminal?
Using a simple script, surfing StackOverflow in Terminal becomes an easy task. If you spend a lot of productive time in the terminal, you need to install how2 on Ubuntu-based distros to achieve this functionality.
To install the how2 command, you need to execute following steps:
- $ sudo apt-get update
- $ sudo apt-get dist-upgrade
- $ sudo apt–get install nodejs
The above-mentioned steps will install How2 tool on your system.
Note: It’s possible that your Linux distribution makes use of nodejs instead of node. So, you need to make a symlink in order to make things work:
Install How2 using the same Linux command as mentioned above.
Now, to use the tool, you can search StackOverflow by using how2 command followed by the desired query: