{"id":163,"date":"2014-10-14T20:41:43","date_gmt":"2014-10-14T20:41:43","guid":{"rendered":"http:\/\/adrhc.go.ro\/wordpress\/?p=163"},"modified":"2016-08-03T10:55:12","modified_gmt":"2016-08-03T08:55:12","slug":"linux-commands-2","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/linux-commands-2\/","title":{"rendered":"Linux commands"},"content":{"rendered":"<h6>prints current path<\/h6>\n<pre class=\"brush:bash shell;toolbar: false\">pwd<\/pre>\n<h6>network traffic info:<\/h6>\n<pre class=\"brush:bash shell;toolbar: false\">\r\n#processes using 80 and 443 ports\r\nnetstat -tulpn | grep -P \":80|443\"\r\nsudo nmap localhost\r\nsudo nmap -T4 -A -v localhost\r\n<\/pre>\n<h6>download with curl<\/h6>\n<pre class=\"brush:bash shell;toolbar: false\">curl -L -k https:\/\/ghost.org\/zip\/ghost-latest.zip -o ghost.zip<\/pre>\n<h6>scan\/checks USB harddisk:<\/h6>\n<pre class=\"brush:bash shell;toolbar: false\">e2fsck.new -f -y \/dev\/sdb2<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>prints current path pwd network traffic info: #processes using 80 and 443 ports netstat -tulpn | grep -P &#8220;:80|443&#8221; sudo nmap localhost sudo nmap -T4 -A -v localhost download with curl curl -L -k https:\/\/ghost.org\/zip\/ghost-latest.zip -o ghost.zip scan\/checks USB harddisk: [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/linux-commands-2\/#more-163\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Linux commands<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,11],"tags":[],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-commands","category-linux"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}