{"id":5015,"date":"2019-06-19T01:16:25","date_gmt":"2019-06-19T01:16:25","guid":{"rendered":"https:\/\/www.geekdecoder.com\/?p=5015"},"modified":"2019-06-19T01:16:25","modified_gmt":"2019-06-19T01:16:25","slug":"freeing-disk-space-on-your-linux-server","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2019\/06\/19\/freeing-disk-space-on-your-linux-server\/","title":{"rendered":"Freeing disk space on your Linux server"},"content":{"rendered":"<p>To find out where disk space is being used:<\/p>\n<p>    Get to the root of your machine by running <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# cd \/\n\n<\/pre>\n<p>    Run <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo du -h --max-depth=1\n<\/pre>\n<p>Note which directories are using a lot of disk space.<br \/>\ncd into one of the big directories.<br \/>\nRun <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# ls -l\n<\/pre>\n<p>to see which files are using a lot of space. Delete any you don\u2019t need.<br \/>\nRepeat steps to run once you cd into the directory with the largest size<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo du -h --max-depth=1\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To find out where disk space is being used: Get to the root of your machine by running # cd \/ Run # sudo du -h &#8211;max-depth=1 Note which directories are using a lot of disk space. cd into one of the big directories. Run # ls -l to see which files are using a &#8230; <a title=\"Freeing disk space on your Linux server\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2019\/06\/19\/freeing-disk-space-on-your-linux-server\/\" aria-label=\"Read more about Freeing disk space on your Linux server\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[139],"class_list":["post-5015","post","type-post","status-publish","format-standard","hentry","category-administration","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/5015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=5015"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/5015\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=5015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=5015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=5015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}