{"id":27523,"date":"2017-04-17T10:40:52","date_gmt":"2017-04-17T08:40:52","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=27523"},"modified":"2017-04-17T10:40:52","modified_gmt":"2017-04-17T08:40:52","slug":"deprecated-linux-networking-commands-and-their-replacements","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2017\/04\/17\/deprecated-linux-networking-commands-and-their-replacements\/","title":{"rendered":"Deprecated Linux networking commands and their replacements"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/dougvitale.wordpress.com\/2011\/12\/21\/deprecated-linux-networking-commands-and-their-replacements\/\">Doug Vitale Tech Blog<\/a> runs a post with a collection of the deprecated Linux networking commands and their replacements. Pretty handy if you want update some of your old bash scripts.<\/p>\n<blockquote>\n<table border=\"1\">\n<tbody>\n<tr>\n<th><strong>Deprecated command<\/strong><\/th>\n<th><strong>Replacement command(s)<\/strong><\/th>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>arp<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ip n<\/strong> (<strong>ip neighbor)<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>ifconfig<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ip a<\/strong> (<strong>ip addr<\/strong>), <strong>ip link<\/strong>, <strong>ip -s<\/strong> (<strong>ip -stats)<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>iptunnel<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ip tunnel<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>iwconfig<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>iw<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>nameif<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ip link<\/strong>, <strong>ifrename<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>netstat<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ss<\/strong>, <strong>ip route <\/strong>(for <strong>netstat-r<\/strong>), <strong>ip -s link <\/strong>(for <strong>netstat -i<\/strong>), <strong>ip maddr <\/strong>(for <strong>netstat-g<\/strong>)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\"><strong>route<\/strong><\/td>\n<td style=\"padding: 5px;\"><strong>ip r<\/strong> (<strong>ip route<\/strong>)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/blockquote>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Doug Vitale Tech Blog runs a post with a collection of the deprecated Linux networking commands and their replacements. Pretty handy if you want update some of your old bash scripts. Deprecated command Replacement command(s) arp ip n (ip neighbor) ifconfig ip a (ip addr), ip link, ip -s (ip -stats) iptunnel ip tunnel iwconfig &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2017\/04\/17\/deprecated-linux-networking-commands-and-their-replacements\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Deprecated Linux networking commands and their replacements<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Deprecated Linux networking commands and their replacements #Linux #SysAdmin #networking #CLI","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,133,62],"tags":[1960,281],"keyring_services":[],"class_list":["post-27523","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-sysadmin","category-technology","tag-command-line","tag-networks"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":20525,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/02\/12\/what-is-my-ip-address-ifconfig-me\/","url_meta":{"origin":27523,"position":0},"title":"What Is My IP Address? &#8211; ifconfig.me","author":"Leonid Mamchenkov","date":"February 12, 2014","format":"link","excerpt":"What Is My IP Address? - ifconfig.me","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10346,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/08\/16\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":27523,"position":1},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"August 16, 2006","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2006-08-15 Google Strict vs Google Deprecated Tagged as: comparison css design google html standards web webdesign","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10181,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/06\/14\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":27523,"position":2},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"June 14, 2006","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2006-06-13 www. is deprecated. Tagged as: accessibility apache culture dns domain internet servers standards url usability web","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27650,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/30\/a-practical-guide-to-linux-commands-editors-and-shell-programming\/","url_meta":{"origin":27523,"position":3},"title":"A Practical Guide to Linux Commands, Editors, and Shell Programming","author":"Leonid Mamchenkov","date":"May 30, 2017","format":false,"excerpt":"I came across the second edition of the Prentice Hall's \"A Practical Guide to Linux Commands, Editors, and Shell Programming\" by\u00a0Mark G. Sobell (original link). \u00a0This is a rather lengthy book at just over 1,000 pages, covering everything from history of Linux and basic commands, all the way to bash,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28478,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/17\/cakephp-3-6-0-release\/","url_meta":{"origin":27523,"position":4},"title":"CakePHP 3.6.0 release","author":"Leonid Mamchenkov","date":"April 17, 2018","format":false,"excerpt":"My all time favorite PHP framework - CakePHP has recently announced the availability of the long awaited version 3.6.0.\u00a0 What's so special about this particular version? - those of you not very familiar with CakePHP might ask.\u00a0 And I'll tell you. CakePHP is a well established framework, with long history\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26130,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/05\/26\/explain-shell\/","url_meta":{"origin":27523,"position":5},"title":"Explain Shell","author":"Leonid Mamchenkov","date":"May 26, 2016","format":false,"excerpt":"Here's a good resource for all of those who is trying to learn shell and\/or figure out complex commands with lots of parameters and pipes - Explain Shell. You just paste the command and hit the \"Explain\" button, and the site will decompose the command into parts, providing relevant parts\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"ExplainShell","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/05\/ExplainShell-500x320.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=27523"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27523\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=27523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=27523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=27523"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=27523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}