Join WhatsApp

Join Now

Join Telegram

Join Now

Termux Commands List For Intermediate | Full Explained

5/5 - (1 vote)Thanks

In This Post I Am Going To Show You Termux Commands List For Intermediate. This Will Contain Termux Commands List With Examples And Usage. We Have Already Published The First Part For Beginners. Make Sure To Read That And Then Start This. These Commands Are Also Easy To Use.

Termux Commands List For Intermediate:

After The Beginners Commands List Of Termux Now We Will See The Intermediate Level Of These Commands. In Termux Commands List For Intermediate I Will Tell You About Package Management, Text Editing And Networking Commands. Below Are The Commands With Title, Use, Usage And Example:

Termux Commands List For Package Management:

First We Will See The Termux Commands List For Package Management. These Commands Can Be Used For Installing, Update And Removing Packages From The Termux:

pkg update – Update Package List

  • Use: Updates The Package List To Ensure You Have The Latest Information About Available Packages.
  • Usage: pkg update
pkg update

pkg upgrade – Upgrade Installed Packages

  • Use: Upgrades All Installed Packages To Their Latest Versions.
  • Usage: pkg upgrade
pkg upgrade

pkg install – Install Packages

  • Use: Installs A Specified Package.
  • Usage: pkg install [package_name]
pkg install vim
pkg install curl

pkg uninstall – Remove Packages

  • Use: Uninstalls A Specified Package.
  • Usage: pkg uninstall [package_name]
pkg uninstall vim

pkg search – Search For Packages

  • Use: Searches For Packages Matching The Specified Term.
  • Usage: pkg search [search_term]
pkg search python

pkg list-all – List All Available Packages

  • Use: Lists All Packages Available For Installation.
  • Usage: pkg list-all
pkg list-all

pkg info – Display Package Information

  • Use: Displays Detailed Information About A Specified Package.
  • Usage: pkg info [package_name]
pkg info vim

pkg clean – Clean Up Package Cache

  • Use: Cleans Up The Package Cache To Free Up Disk Space.
  • Usage: pkg clean
pkg clean

pkg install -f – Force Install A Package

  • Use: Forces The Installation Of A Package, Even If Dependencies Are Not Met.
  • Usage: pkg install -f [package_name]
pkg install -f some_package

These Commands Help Manage Packages Effectively In Termux, Allowing You To Install, Upgrade, Uninstall, And Search For Packages As Needed.

Want To See Termux API Commands: Termux Commands List For Basic Use | Termux API

Termux Commands List For Text Editing:

Now We Will See The Termux Commands List For Text Editing. These Commands Mostly Include The Commands Of The Text Editors Like Vim And Nano:

nano – Simple Text Editor

  • Use: Opens A File In The Nano Text Editor For Editing.
  • Usage: nano [filename]
nano example.txt

vim – Advanced Text Editor

  • Use: Opens A File In The Vim Text Editor For Editing.
  • Usage: vim [filename]
vim example.txt

vi – Another Name For Vim

  • Use: Opens A File In The Vi Text Editor For Editing.
  • Usage: vi [filename]
vi example.txt

ed – Line-Oriented Text Editor

  • Use: Provides A Line-Oriented Text Editor For Basic Editing Tasks.
  • Usage: ed [filename]
ed example.txt

sed – Stream Editor

  • Use: Performs Basic Text Transformations On An Input Stream (A File Or Input From A Pipeline).
  • Usage: sed [options] 'command' [filename]
sed 's/old/new/g' example.txt
sed -i 's/old/new/g' example.txt

awk – Pattern Scanning And Processing Language

  • Use: Performs Pattern Scanning And Processing On Text Files.
  • Usage: awk 'pattern { action }' [filename]
awk '{ print $1 }' example.txt
awk '/pattern/ { print $0 }' example.txt

grep – Search Text Using Patterns

  • Use: Searches For Text Matching A Pattern In Files.
  • Usage: grep [options] 'pattern' [filename]
grep 'search_term' example.txt
grep -r 'search_term' /path/to/directory

tr – Translate Or Delete Characters

  • Use: Translates Or Deletes Characters From The Input Data.
  • Usage: tr [options] 'set1' 'set2'
echo "hello" | tr 'a-z' 'A-Z' tr -d '[:space:]' < example.txt

These Commands Facilitate Various Text Editing Tasks In Termux, Ranging From Simple Edits To Advanced Text Processing.

Termux Commands List For Netwroking:

After The Above Two Categories, We Will See The Termux Commands List For Networking. These Commands Include Network Related Tasks Such As Checking Connectivity, Downloading Files Or Using SSH:

ping – Send ICMP ECHO_REQUEST To Network Hosts

  • Use: Tests Connectivity To A Network Host.
  • Usage: ping [options] [host]
ping google.com
ping -c 4 192.168.1.1

ifconfig – Configure Network Interfaces

  • Use: Displays Or Configures Network Interfaces.
  • Usage: ifconfig [interface] [options]
ifconfig
ifconfig wlan0 up

iwconfig – Configure Wireless Network Interfaces

  • Use: Configures Wireless Network Interfaces.
  • Usage: iwconfig [interface] [options]
iwconfig
iwconfig wlan0 essid "my_network"

netstat – Print Network Connections, Routing Tables, Interface Statistics

  • Use: Displays Network Connections, Routing Tables, Interface Statistics, And More.
  • Usage: netstat [options]
netstat
netstat -tuln

ss – Utility To Investigate Sockets

  • Use: Provides Detailed Information About Network Sockets.
  • Usage: ss [options]
ss
ss -tuln

traceroute – Print The Route Packets Take To The Network Host

  • Use: Traces The Route Packets Take To A Network Host.
  • Usage: traceroute [host]
traceroute google.com

curl – Transfer Data From Or To A Server

  • Use: Transfers Data Using Various Network Protocols.
  • Usage: curl [options] [URL]
curl http://example.com
curl -O http://example.com/file.zip

wget – Non-Interactive Network Downloader

  • Use: Downloads Files From The Web.
  • Usage: wget [options] [URL]
wget http://example.com/file.zip
wget -r http://example.com/dir/

nmap – Network Exploration Tool And Security/Port Scanner

  • Use: Can Be Used To Scan Networks To Discover Hosts And Services. These Below Commands Require Nmap To Work
  • Usage: nmap [options] [target]
nmap 192.168.1.1
nmap -p 22,80 192.168.1.0/24

tcpdump – Dump Traffic On A Network

  • Use: This Command Is Used To Capture And Analyze Network Packets.
  • Usage: tcpdump [options]
tcpdump
tcpdump -i wlan0 port 80

These Commands Are Essential For Managing And Troubleshooting Network Connections In Termux.

Conclusion:

Termux Commands List For Intermediate Was All About This. You Should Learn The Beginners List First. Vim, Nmap And Other Tools Must Be Installed For The Proper Working Of These Commands. Hope You Have Liked This Tutorial. We Will See Termux Commands List For Advanced In Next Post.

Frequently Asked Questions:

What Is Nmap?

Nmap Is Tool Used For Finding Ports Of A Website. Or We Can To Collect Information About The Ports And Other Things.

What Is Vim Tool Used For?

Vim Is A Text Editor Tool And Can Be Used To Create And Modify Text Files.

How To See My IP Through Commands?

Type ifconfig For The Ip And Network Details

Hi There!  I Am Geek Guy. a Passionate Computer Science Student Diving Deep Into The World Of Technology.