{"id":4462,"date":"2022-11-08T16:48:29","date_gmt":"2022-11-08T07:48:29","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=4462"},"modified":"2022-11-08T17:14:02","modified_gmt":"2022-11-08T08:14:02","slug":"ubuntu-install-net-tools","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=4462","title":{"rendered":"<small>Ubuntu: install net-tools<\/small>"},"content":{"rendered":"<p>1. install net-tools<\/p>\n<pre>\r\n$ sudo apt install net-tools\r\n[sudo] password for wsd02:\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following packages were automatically installed and are no longer required:\r\n  libflashrom1 libftdi1-2\r\nUse 'sudo apt autoremove' to remove them.\r\nThe following NEW packages will be installed:\r\n  net-tools\r\n0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.\r\nNeed to get 204 kB of archives.\r\nAfter this operation, 819 kB of additional disk space will be used.\r\nGet:1 http:\/\/jp.archive.ubuntu.com\/ubuntu jammy\/main amd64 net-tools amd64 1.60+git20181103.0eebece-1ubuntu5 [204 kB]\r\nFetched 204 kB in 0s (948 kB\/s)\r\nSelecting previously unselected package net-tools.\r\n(Reading database ... 220496 files and directories currently installed.)\r\nPreparing to unpack ...\/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb ...\r\nUnpacking net-tools (1.60+git20181103.0eebece-1ubuntu5) ...\r\nSetting up net-tools (1.60+git20181103.0eebece-1ubuntu5) ...\r\nProcessing triggers for man-db (2.10.2-1) ...\r\n<\/pre>\n<p>2. ifconfig<\/p>\n<pre>\r\n$ ifconfig\r\nenp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 192.168.1.140  netmask 255.255.255.0  broadcast 192.168.1.255\r\n        inet6 2405:6585:a320:4f00:428d:5cff:fe39:387d  prefixlen 64  scopeid 0x0<global>\r\n        inet6 fe80::428d:5cff:fe39:387d  prefixlen 64  scopeid 0x20<link>\r\n        ether 40:8d:5c:39:38:7d  txqueuelen 1000  (Ethernet)\r\n        RX packets 119829  bytes 16363195 (16.3 MB)\r\n        RX errors 0  dropped 81316  overruns 0  frame 0\r\n        TX packets 13798  bytes 2701560 (2.7 MB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\r\n        inet 127.0.0.1  netmask 255.0.0.0\r\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\r\n        loop  txqueuelen 1000  (Local Loopback)\r\n        RX packets 200  bytes 21444 (21.4 KB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 200  bytes 21444 (21.4 KB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. install net-tools $ sudo apt install net-tools [sudo] password for wsd02: Reading package lists&#8230; Done Bui&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/4462"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4462"}],"version-history":[{"count":3,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/4462\/revisions"}],"predecessor-version":[{"id":4465,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/4462\/revisions\/4465"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}