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)