• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Terminal Commands

DavePM

Member
Joined
May 2, 2023
Messages
96
Reaction score
37
Credits
781
What is the command for the Windows ipconfig in the terminal of Linux?
 


Ok I had to install net tools first but the ifconfig command did not show me the gateway address!
 
Ok I had to install net tools first but the ifconfig command did not show me the gateway address!
In newer versions of Linux, the ifconfig command has been deprecated and replaced by the ip command. To find the gateway address using the ip command, you can run the following command in the terminal:

Code:
ip route | grep default | awk '{print $3}'
This command should output the IP address of your network gateway.
 
Thank you that worked 100%, you just so clever :D
 

Members online


Top