DEV Community

Aravinthan
Aravinthan

Posted on

Linux - Network Commands

Linux - Network Commands

This is Part 4 of the Linux CLI Commands series.

πŸ‘‰ Previous: Linux - Process Commands
πŸ‘‰ Next: Linux - Permission Commands

Network Commands

ipconfig -- check ip address in windows
ifconfig -- check ip address in linux
vi /etc/hosts -- edit ip address tab space hostname tab space logname

note: ifconfig (ip) == vi /etc/hosts (ip) and set ip address in manual

service network restart -- to restart the network
service network start -- to start network
service network stop -- to stop network
ping google.com -- check network working are not

Top comments (0)