{"id":767,"date":"2011-12-09T16:35:39","date_gmt":"2011-12-09T14:35:39","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=767"},"modified":"2022-01-19T08:34:44","modified_gmt":"2022-01-19T06:34:44","slug":"terminal-tool-to-get-external-and-local-ips","status":"publish","type":"post","link":"https:\/\/9v.lt\/blog\/terminal-tool-to-get-external-and-local-ips\/","title":{"rendered":"Terminal tool to get external and local IPs"},"content":{"rendered":"<p>Some days ago I made a <a href=\"http:\/\/9v.lt\/blog\/?p=756\">little tool to get local and external IPs<\/a> of your machine, but it was only for windows. I wanted something like that for my Linux as well, so I made this little bash script.<br \/>\nPut it into <strong>\/bin\/<\/strong> folder, do <strong>chmod a+x termip<\/strong> and execute from anywhere with command: <strong>termip<\/strong><\/p>\n<p>Script can always be found here: <a href=\"http:\/\/9v.lt\/projects\/other\/termip\" target=\"__blank\" rel=\"noopener\">http:\/\/9v.lt\/projects\/other\/termip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some days ago I made a little tool to get local and external IPs of<\/p>\n","protected":false},"author":2,"featured_media":1712,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[591,77,144,417,592,593,594,204,595,104],"class_list":["post-767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-bash","tag-linux","tag-script","tag-scripting","tag-sh","tag-shell","tag-terminal","tag-ubuntu","tag-unix","tag-windows"],"_links":{"self":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=767"}],"version-history":[{"count":0,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/767\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1712"}],"wp:attachment":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}