よく使う便利なネットワークコマンドの一覧
※ただし「ifconfig」などのコマンドは古いともされており、Ubuntuにおいては18.04以降、デフォルトではインストールされていない。「ifconfig」コマンドを使用するには「net-tools」パッケージをインストールする必要がある。
$ sudo apt install net-tools
Windows | Linux |
---|---|
ipconfig | ifconfig |
ip addr show / ip a(省略形) |
Windows | Linux |
---|---|
ping | ping |
Windows | Linux |
---|---|
tracert | traceroute |
Windows | Linux |
---|---|
hostname | hostname |
Windows | Linux |
---|---|
arp | arp |
Windows | Linux |
---|---|
nslookup | nslookup |