Ask Question

What linux command displays the ip address and subnet mask?

+5
Answers (1)
  1. 2 June, 16:26
    0
    Type "ifconfig" at the terminal prompt, then press the "Enter" key. The IP address is labeled as "inet addr." The subnet is labeled as "Mask."

    step 2

    Type "netstat - r" at the command prompt, then press the "Enter" key to view the gateway address.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What linux command displays the ip address and subnet mask? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers