another Termux commands related dir and network :


 cd = change directory

cd / = change to root directory

cd - = move one directory back from where you are now

cd ~ = move to users home directory from anywhere

cd .. = change current directory to parent directory

cd -- = show last working directory from where we moved.

pwd = it shows your current working directory

🦑Basic Networking Commands

ifconfig = shows configuration a network interface.

ifconfig = for check your local ip,mac, or display the current network interface information

ifconfig -a = display the configuration of all interfaces,both active and inactive

ifconfig eth0 = used to view the network settings on the interface eth0

ifconfig wlan0 = used to view the network settings on wlan0

ifconfig eth1 up = used to active the network interface eth1

ifconfig eth1 down =used to Deactive the network interface eth1

ifconfig wlan0 down = Deactive the network interface wlan0

ifconfig wlan0 up = active the network interface wlan0

ifconfig wlan0 netmask 225.225.225.0 = to use the network mask 225.225.225.0 in wlan0 network interface




Enjoy! Follow us for more...

No comments:

Post a Comment

How to Install files and the database in MAMP Server.mp4

  Download now   Enjoy! Follow us for more...