{"id":9,"date":"2020-03-07T01:14:02","date_gmt":"2020-03-06T17:14:02","guid":{"rendered":"https:\/\/blog.linsakura.com\/?p=9"},"modified":"2023-02-14T16:15:43","modified_gmt":"2023-02-14T08:15:43","slug":"linux-cmd","status":"publish","type":"post","link":"https:\/\/blog.linsakura.com\/index.php\/2020\/03\/07\/linux-cmd\/","title":{"rendered":"Linux \u5e38\u7528\u547d\u4ee4"},"content":{"rendered":"<h2 class=\"h-title\">RAR<\/h2>\n<pre class=\"prettyprint linenums\">\r\nUbuntu - install\r\nsudo apt install rar\r\n\r\n#CentOS - install\r\nwget https:\/\/www.rarlab.com\/rar\/rarlinux-x64-5.7.1.tar.gz\r\ntar -xzvf rarlinux-x64-5.7.1.tar.gz\r\ncd rar\r\nmake\r\n\r\n#Use CMD\r\nrar a test.rar test  \/\/\u538b\u7f29\r\nrar a test.rar test -xtest\/dl  \/\/\u538b\u7f29\u5e76\u6392\u9664test\u76ee\u5f55\u4e0b\u7684dl\u76ee\u5f55\r\nrar x test.rar  \/\/\u89e3\u538b\r\n<\/pre>\n<h2 class=\"h-title\">MySQL<\/h2>\n<pre class=\"prettyprint linenums\">\r\n#\u5bfc\u5165\u6570\u636e\u5e93\r\nmysql -u \u7528\u6237\u540d -p \u6570\u636e\u5e93\u540d &lt; \u6570\u636e\u5e93\u540d.sql\r\n#\u5bfc\u51fa\u6570\u636e\u5e93\r\nmysqldump -u \u6570\u636e\u5e93\u8fde\u63a5\u7528\u6237\u540d -p \u6570\u636e\u5e93\u540d &gt; \u5b58\u50a8\u6587\u4ef6\u540d.sql\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>RAR Ubuntu &#8211; install sudo apt install rar #CentOS &#8211; install wget https:\/\/www.rarlab.com\/rar\/rarlinux-x64-5.7.1.tar.gz tar -xzvf rarlinux-x64-5.7.1.tar.gz cd rar make #Use CMD rar a test.rar test \/\/\u538b\u7f29  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[8,7],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-dev","category-linux","tag-mysql","tag-rar"],"_links":{"self":[{"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":2,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/posts\/9\/revisions\/210"}],"wp:attachment":[{"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.linsakura.com\/index.php\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}