Go for Hack with Termux

Text Editors for Termux

You can use vi or nano text editors inside termux.

To install nano just type pkg install nano. After installation, you can use nano just by typing nano <the file name>.

pkg install nano
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
$ nano firstfile

To check what you write on the screen just use the cat command.


cat firstfile             --> To view text file
Subscribe to my Youtube channel
$ cat > firstfile          --> To edit text file
Subscribe to my Youtube channel
Edit

Similarly, VI text editor is available on every UNIX-based Operating system is a very famous and effective text editor, and also there is a video available on my youtube channel link is in my description box.


vi firstfile1


Networking

Networking itself a huge topic I am not here gonna talking about all the things.


First, start with,


ifconfig

ifconfig Command is used to get all the information regarding your Network IP Address connected port and all network information.


$ ifconfig


Ping

The ping command is a Command Prompt command used to test the ability of the source computer to reach a specified destination computer. The ping command is usually used as a simple way to verify that a computer can communicate over the network with another computer or network device.

To check whether a particular website is accessible or not in your ISP then you can check that through termux by typing ping website Eg: ping google.com

$ ping google.com

W3m

The Interesting thing is you can access the internet through termux, directly in the command line.


pkg install w3m             --> To install w3m
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
w3m google.com             --> To run w3m

LYNX

Lynx is similar to w3m. Lynx is a customizable text-based web browser for use on cursor-addressable character cell terminals. To install lynx, type pkg and install lynx. After that type lynx google.com.


pkg install lynx             --> To install lynx
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
lynx google.com             --> To run lynx

Not Only These you can use many other commands such as cat, man, etc. on termux.


Setup Before Go for Hack



Programming Languages in Termux


Whenever we all talk about programming the name comes to mind java, c, c++, Python, Php, Perl, etc.
Exactly the same Termux is such a powerful Linux environment that can handle the above Programming Languages.

  • C
  • C++
  • Python 3.x
  • Python 2.
  • Ruby
  • Perl
  • PHP And So On

To install and use c, c++ on Termux, We have to just type pkg install clang. During installation, you will be asked that Termux will use some space just type y and Hit Enter.


Similarly, we can install Python 2.7 by typing pkg install python2, and Python 3 by typing pkg install python.

$ pkg install clang        --> To install and use c, c++ on Termux
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ pkg install python2     --> To install and use Python 2.7 Termux
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pkg install python     --> To install and use Python3 Termux
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pkg install php     --> To install and use PHP Termux
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pkg install perl     --> To install and use Perl Termux
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ pkg install ruby     --> To install and use ruby Termux
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!