{"id":2087,"date":"2023-08-11T15:01:33","date_gmt":"2023-08-11T07:01:33","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2087"},"modified":"2023-08-16T10:39:20","modified_gmt":"2023-08-16T02:39:20","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8linux%e4%b8%8b%e7%94%9f%e6%88%90%e6%8c%87%e5%ae%9a%e5%a4%a7%e5%b0%8f%e7%9a%84%e8%99%9a%e6%8b%9f%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2023\/08\/11\/1501332087.html","title":{"rendered":"\u5982\u4f55\u5728Linux\u4e0b\u751f\u6210\u6307\u5b9a\u5927\u5c0f\u7684\u865a\u62df\u6587\u4ef6"},"content":{"rendered":"<ul>\n<li>\u4f7f\u7528truncate\u547d\u4ee4<\/li>\n<\/ul>\n<pre><code class=\"language-command line-numbers\">~ # truncate -s 1024M filename\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to generate a file of a specific size under linux\uff1f<\/p>\n<p>truncate -s 1024M filename<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,386,1],"tags":[8,420],"class_list":["post-2087","post","type-post","status-publish","format-standard","hentry","category-centos","category-ubuntu","category-article","tag-linux","tag-truncate"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2087"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2087\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}