{"id":211,"date":"2021-06-04T16:41:35","date_gmt":"2021-06-04T08:41:35","guid":{"rendered":"https:\/\/www.paralism.com\/info\/docs\/ataasd\/%e9%99%84%e5%bd%95\/%e8%8a%82%e7%82%b9%e6%93%8d%e4%bd%9c%e5%91%bd%e4%bb%a4%e5%8f%82%e8%80%83\/"},"modified":"2021-06-04T18:46:43","modified_gmt":"2021-06-04T10:46:43","slug":"%e8%8a%82%e7%82%b9%e6%93%8d%e4%bd%9c%e5%91%bd%e4%bb%a4%e5%8f%82%e8%80%83","status":"publish","type":"docs","link":"https:\/\/www.paralism.com\/info\/docs\/paralismnodecliguide\/%e9%99%84%e5%bd%95\/%e8%8a%82%e7%82%b9%e6%93%8d%e4%bd%9c%e5%91%bd%e4%bb%a4%e5%8f%82%e8%80%83\/","title":{"rendered":"\u8282\u70b9\u64cd\u4f5c\u547d\u4ee4\u53c2\u8003"},"content":{"rendered":"\n<ol class=\"wp-block-list\" id=\"block-ff197efd-0dc0-4e1b-b708-29df082613a2\"><li>help(?): show all available commands\u663e\u793a\u8282\u70b9\u6240\u6709\u652f\u6301\u7684\u547d\u4ee4<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/image-26.png\" alt=\"\"><br><\/li><li>\/h : show history of commands \u663e\u793a\u8282\u70b9\u7a0b\u5e8f\u672c\u6b21\u542f\u52a8\u4ee5\u6765\u6240\u6709\u64cd\u4f5c\u8fc7\u7684\u547d\u4ee4\u3002<br><\/li><li>node(n): show neighbor node information\u663e\u793a\u90bb\u5c45\u8282\u70b9\u5217\u8868\uff0c\u8bed\u6cd5\u7cd6\u7b80\u5199\u4e3an<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/5-1.png\" alt=\"\"><br><\/li><li>space(sp): show HyperChain-Space information\u663e\u793a\u94fe\u7a7a\u95f4\u6982\u8981\u89c6\u56fe\uff0c\u5c55\u793a\u672c\u8282\u70b9\u6240\u77e5\u7684\u533a\u5757\u94fe\u6570\u636e\u5728\u5404\u8282\u70b9\u7684\u5206\u5e03\u60c5\u51b5\u3002\u8bed\u6cd5\u7cd6\u7b80\u5199sp\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/6-1.png\" alt=\"\"><br><\/li><li>spacemore(spm): show a specified hyper block from Hyperchain Space more information\u663e\u793a\u5728\u6307\u5b9a\u8d85\u5757\u5728\u5df2\u77e5\u94fe\u7a7a\u95f4\u5206\u5e03\u5728\u54ea\u4e9b\u90bb\u5c45\u8282\u70b9\u4e0a\u3002\u8bed\u6cd5\u7cd6\u7b80\u5199spm<br>\u547d\u4ee4\u683c\u5f0fspacemore &lt;\u8d85\u5757\u53f7><br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/7-1.png\" alt=\"\"><br><\/li><li>local(l): show local data information \u663e\u793a\u672c\u5730\u62e5\u6709\u8d85\u5757\u7684\u5757\u53f7\u7ec4\uff0c\u8bed\u6cd5\u7cd6\u7b80\u5199l<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/8-1.png\" alt=\"\"><br><\/li><li>down(d): download a specified hyper block from HyperChain-Space to local<br>\u4ece\u94fe\u7a7a\u95f4\u4e2d\u6307\u5b9a\u8282\u70b9\u4e0b\u8f7d\u6307\u5b9a\u7684\u8d85\u5757\uff0c\u4e0b\u8f7d\u8fdb\u7a0b\u5c06\u5f02\u6b65\u6267\u884c\u3002\u540e\u7ee7\u901a\u8fc7local\u547d\u4ee4\u67e5\u8be2\u8d85\u5757\u662f\u5426\u5df2\u52a0\u5165\u672c\u5730\u94fe\u7a7a\u95f4\u3002\u547d\u4ee4\u8bed\u6cd5\u7cd6\u7b80\u5199\u4e3ad<br>\u547d\u4ee4\u683c\u5f0fdown &lt;\u8d85\u5757\u53f7]>&lt;\u8282\u70b9\u6807\u8bc6> [\u540e\u7ee7\u5757\u6570]<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/9.png\" alt=\"\"><br><\/li><li>search(se): search detail information for a number of specified hyper blocks, show child chains with &#8216;v&#8217;<br>\u663e\u793a\u6307\u5b9a\u8d85\u5757\u7684\u8be6\u7ec6\u4fe1\u606f\uff1b\u6307\u5b9av\u53c2\u6570\u53ef\u83b7\u53d6\u76f8\u5173\u5b50\u94fe\u4fe1\u606f\uff0c\u8bed\u6cd5\u7cd6\u7b80\u5199se<br>\u547d\u4ee4\u5404\u5f0fsearch &lt;\u8d85\u5757\u53f7> [v]<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/11.png\" alt=\"\"><br><\/li><li>submit(sm)\uff1asubmit data to the chain<br>\u63d0\u4ea4\u81ea\u5b9a\u4e49\u683c\u5f0f\u6570\u636e\u4e0a\u94fe\u8bb0\u5f55\uff0c\u547d\u4ee4\u8f93\u5165\u53c2\u6570\u4e3a\u6307\u5b9a\u7684\u6570\u636e\u6587\u4ef6\u3002\u547d\u4ee4\u8fd4\u56de\u4e0a\u94fe\u8bf7\u6c42\u67e5\u8be2ID\uff0c\u5e94\u7528\u7a0b\u5e8f\u53ef\u901a\u8fc7query\u547d\u4ee4\u4f7f\u7528\u67e5\u8be2ID\u83b7\u53d6\u6570\u636e\u4e0a\u94fe\u8fdb\u5ea6\u3002<br>\u547d\u4ee4\u683c\u5f0fsubmit &lt;\u6570\u636e\u6587\u4ef6>\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/12.png\" alt=\"\"><br><\/li><li>query(qr)\uff1aquery status of the submitted data on the chain<br>\u67e5\u8be2submit\u547d\u4ee4\u63d0\u4ea4\u7684\u6570\u636e\u4e0a\u94fe\u8bf7\u6c42\u7684\u4e0a\u94fe\u72b6\u6001\u3002<br>\u547d\u4ee4\u5404\u5f0fquery &lt;\u67e5\u8be2requestid><br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/13.png\" alt=\"\"><br><\/li><li>inner(i): show inner information<br>\u663e\u793a\u8282\u70b9\u8fdb\u7a0b\u8fd0\u884c\u65f6\u4fe1\u606f\uff0c\u5305\u542bNodeID\u3001\u8fdb\u7a0bID\u3001\u90bb\u5c45\u8282\u70b9\u3001\u7ebf\u7a0b\u6c60\u3001UDP\u6570\u636e\u53d1\u9001\u4e0e\u63a5\u6536\u961f\u5217\u3001\u5171\u8bc6\u9636\u6bb5(\u5168\u5c40\u5171\u8bc6\/\u5c40\u90e8\u5171\u8bc6)\u3001\u5c40\u90e8\u5171\u8bc6\u548c\u5168\u5c40\u5171\u8bc6\u72b6\u6001\u7b49<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/14.png\" alt=\"\"><br><\/li><li>debug: set debug application log output destination.<br>\u8bbe\u7f6e\u6307\u5b9a\u5e94\u7528\u7684\u8c03\u8bd5\u65e5\u5fd7\u8f93\u51fa\uff0c\u8f93\u51fa\u76ee\u6807\u53ef\u4ee5\u662f\u6307\u5b9a\u6587\u4ef6\u548c\u7ec8\u7aef\u63a7\u5236\u53f0<br>\u547d\u4ee4\u683c\u5f0fdebug [\u5e94\u7528\u8868\u793a] [\u65e5\u5fd7\u8f93\u51fa\u9009\u9879file\/con\/both\/off]\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/15.png\" alt=\"\"><br><\/li><li>resolve(rs): resolve the specified data into a kind of application<br>\u89e3\u6790\u6307\u5b9a\u7684\u5e94\u7528\u4fe1\u606f\uff0c\u5982\u901a\u7528\u5206\u5e03\u5f0f\u8d26\u672c\u6216\u52a0\u5bc6\u8d27\u5e01\u6a21\u5757\u7684\u5e94\u7528\u4fe1\u606f<br>rs\u83b7\u53d6\u6240\u6709\u5e94\u7528\u6700\u65b0\u4fe1\u606f\uff1b<br>rs [ledger\/paracoin]\u83b7\u53d6\u6307\u5b9a\u5206\u5e03\u5f0f\u8d26\u672c\u6216\u52a0\u5bc6\u8d27\u5e01\u6a21\u5757\u7684\u5e94\u7528\u4fe1\u606f\uff1b<br>rs [ledger\/paracoin] [\u8d85\u5757\u53f7 \u5b50\u94fe\u53f7 \u5b50\u94fe\u533a\u5757\u53f7]\u83b7\u53d6\u6307\u5b9a\u7684\u5e94\u7528\u4e1a\u52a1\u5b50\u94fe\u7684\u533a\u5757\u6570\u636e\uff1b<br>rs [ledger\/paracoin] height \u83b7\u53d6\u6309\u6307\u5b9a\u5e94\u7528\u4e1a\u52a1\u5b50\u94fe\u533a\u5757\u9ad8\u5ea6\uff1b<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/16.png\" alt=\"\"><br><\/li><li>token(t)\uff1acontrol or show tokens<br>\u8f93\u5165token\u6216t\uff0c\u8f93\u51fa\u5206\u5e03\u5f0f\u8d26\u672cledger\u6a21\u5757\u4e2d\u901a\u8bc1token\u64cd\u4f5c\u76f8\u5173\u7684\u547d\u4ee4<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/17.png\" alt=\"\"><ol><li>token ls\uff1alist all local imported tokens<br>\u8f93\u5165token ls\uff0c\u663e\u793a\u672c\u5730\u6240\u6709\u5df2\u5bfc\u5165\u7684token\u5217\u8868\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/18.png\" alt=\"\"><br><\/li><li>token ll \uff1adisplay the default\/specified token details<br>\u8f93\u5165token ll +[\u6807\u53f7]\uff0c\u663e\u793a\u9ed8\u8ba4\u6216\u6307\u5b9a\u6807\u53f7\u7684token\u7684\u4fe1\u606f\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/19.png\" alt=\"\"><br><\/li><li>token df\uff1aquery or set the default token, after restarting ledger it will take effect<br>\u8f93\u5165token df +[NO.]\u6307\u5b9a\u4e3a\u9ed8\u8ba4\u8fd0\u884c\u7684token\uff0c\u91cd\u542fledger\u5e94\u7528\u540e\u751f\u6548\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/1-2.png\" alt=\"\"><br><\/li><li>token iss: issue a token, &#8216;token iss&#8217; for help<br>\u8f93\u5165token iss +&lt;\u914d\u7f6e\u53c2\u6570\u6587\u4ef6>\uff0c\u53d1\u884c\u81ea\u5b9a\u4e49\u7684token\uff0c\u53c2\u6570\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u9700\u8981\u6309\u6bcf\u4e00\u884c\u4e00\u4e2a\u53c2\u6570\u987a\u5e8f\u63d0\u4f9b\uff1atoken\u540d\u3001\u63cf\u8ff0\u3001\u603b\u91cf\u3001logo\u3001\u5730\u5740\u53ca\u516c\u94a5\u3002<br>\u5176\u4e2d\u516c\u94a5\u9700\u8981\u4f7f\u7528token gkp\u547d\u4ee4\u751f\u6210\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/2-2.png\" alt=\"\"><br><\/li><li>token imp\uff1aimport a token<br>\u8f93\u5165token imp + &lt;hyperblock chainid localblockid>\uff0c\u901a\u8fc7token\u53d1\u884c\u65f6\u7684\u521b\u59cb\u5757\u53f7\u5bfc\u5165token\u5230ledger\u6a21\u5757\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/3-2.png\" alt=\"\"><br><\/li><li>token acc: query account balances<br>\u8f93\u5165token acc\uff0c\u83b7\u53d6\u5f53\u524d\u8fd0\u884ctoken\u7684\u8d26\u6237\u4f59\u989d\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/4-2.png\" alt=\"\"><br><\/li><li>\u00a0token addr: query account addresses<br>\u8f93\u5165token addr + [account]\uff0c\u83b7\u53d6token\u8d26\u6237\u7684\u5730\u5740\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/5-2.png\" alt=\"\"><br><\/li><li>token sendtoaddr: transfer<br>\u8f93\u5165token sendtoaddr + &lt;address>+&lt;amount>\uff0c\u5411\u63a5\u6536\u65b9\u8d26\u6237\u5730\u5740\u53d1\u9001\u6307\u5b9a\u6570\u91cf\u7684token\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/6-2.png\" alt=\"\"><br><\/li><li>token e: enable to generate blocks<br>\u8f93\u5165token e\uff0c\u542f\u52a8\u5206\u5e03\u5f0f\u8d26\u672c\uff0c\u6536\u96c6token\u4ea4\u6613\u4ea7\u751f\u533a\u5757\u3002<br><\/li><li>token d: disable to generate blocks<br>\u8f93\u5165token d\uff0c\u505c\u6b62\u5206\u5e03\u5f0f\u8d26\u672c\u3002<br><\/li><li>token gkp: generate a public-private key pair<br>\u8f93\u5165token gkp\uff0c\u751f\u6210\u516c\u94a5\/\u79c1\u94a5\u5bf9\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/7-2.png\" alt=\"\"><br><\/li><li>token ikp: import a public-private key pair<br>\u8f93\u5165token ikp + &lt;private key>\uff0c\u5bfc\u5165\u4e00\u4e2a\u516c\u94a5\/\u79c1\u94a5\u5bf9\u3002<br><\/li><\/ol><\/li><li>coin(c)\uff1acontrol or show coins<br>\u8f93\u5165coin\u6216c\uff0c\u8f93\u51fa\u4e0ecoins\u76f8\u5173\u7684\u64cd\u4f5c\u547d\u4ee4\u3002<ol><li>coin ls: list all local imported coins<br>\u8f93\u5165coin ls\uff0c\u663e\u793a\u8282\u70b9\u672c\u5730paracoin\u6a21\u5757\u6240\u6709\u5df2\u5bfc\u5165\u7684\u6570\u5b57\u8d27\u5e01(coin)\u5217\u8868\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/1-3.png\" alt=\"\"><br><\/li><li>\u00a0coin ll : display the default\/specified coin details<br>\u8f93\u5165coin ll +[\u6807\u53f7]\uff0c\u663e\u793a\u9ed8\u8ba4\u6216\u6307\u5b9a\u6807\u53f7NO.\u7684coin\u7684\u76f8\u5173\u4fe1\u606f\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/2-3.png\" alt=\"\"><br><\/li><li>coin df: query or set the default coin, after restarting paracoin, it takes effect<br>\u8f93\u5165coin df +[NO.]\u8bbe\u7f6e\u9ed8\u8ba4\u8fd0\u884c\u7684coin\uff0c\u91cd\u542fparacoin\u6a21\u5757\u540e\u751f\u6548\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/3-3.png\" alt=\"\"><br><\/li><li>\u00a0coin iss: issue a coin<br>\u8f93\u5165coin iss +&lt;\u540d\u79f0>+[\u521b\u4e16\u5757\u4fe1\u606f]+[\u6a21\u578b]+[logo\u4fe1\u606f]\\n\uff0c\u53d1\u884c\u81ea\u5b9a\u4e49coin\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/4-3.png\" alt=\"\"><br><\/li><li>\u00a0coin imp: import a coin<br>\u8f93\u5165coin imp + &lt;hyperblockid chained localblockid>\uff0c\u5bfc\u5165coin\u5230paracoin\u6a21\u5757\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/5-3.png\" alt=\"\"><br><\/li><li>\u00a0coin acc: query account balances<br>\u8f93\u5165coin acc\uff0c\u83b7\u53d6\u8d26\u6237\u4f59\u989d\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/6-3.png\" alt=\"\"><br><\/li><li>coin addr : query account addresses<br>\u8f93\u5165coin addr + [account]\uff0c\u83b7\u53d6\u8d26\u6237\u7684\u5730\u5740\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/7-3.png\" alt=\"\"><br><\/li><li>\u00a0coin sendtoaddr: transfer<br>\u8f93\u5165coin sendtoaddr + &lt;address>+&lt;amount>\uff0c\u5411\u63a5\u6536\u8d26\u6237\u5730\u5740\u53d1\u9001\u6307\u5b9a\u6570\u91cf\u7684coin\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/8-2.png\" alt=\"\"><br><\/li><li>coin e: enable mining<br>\u8f93\u5165coin e\uff0c\u542f\u52a8\u6316\u77ff\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/9-1.png\" alt=\"\"><br><\/li><li>coin d: disable mining<br>\u8f93\u5165coin d\uff0c\u505c\u6b62\u6316\u77ff\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/10-1.png\" alt=\"\"><br><\/li><\/ol><\/li><li>start: load and start the specified application:<br>start ledger\/paracoin [options]<br>start paracoin -debug \u2013gen<br>\u8f93\u5165start +[ledger\/paracoin] +[Option]\u52a0\u8f7d\u5e94\u7528\u6a21\u5757\uff0c\u5982\u5206\u5e03\u5f0f\u8d26\u672c\u3001\u52a0\u5bc6\u8d27\u5e01\u6a21\u5757\uff0cdebug\u4e3a\u5f00\u542f\u8c03\u8bd5\u65e5\u5fd7\uff0cgen\u4e3a\u542f\u52a8\u6316\u77ff\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/11-1.png\" alt=\"\"><br><\/li><li>stop: stop and unload the specified application:<br>stop ledger\/paracoin<br>\u8f93\u5165stop +[ledger\/paracoin]\u505c\u6b62\u5e94\u7528\u6a21\u5757\u8fd0\u884c\u3002<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/12-1.png\" alt=\"\"><br><\/li><li>app:list the loaded applications and their status<br>\u8f93\u5165app\u5217\u51fa\u5df2\u52a0\u8f7d\u7684\u5e94\u7528\u7ec4\u4ef6\u53ca\u8fd0\u884c\u72b6\u6001<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/13-1.png\" alt=\"\"><br><\/li><li>loggerlevel(ll): set logger level [trace=0,debug=1,info=2,warn=3,err=4,critical=5,off=6]<br>\u8f93\u5165ll [+\u65e5\u5fd7\u7ea7\u522b] \u8bbe\u7f6e\u8c03\u8bd5\u8f93\u51fa\u65e5\u5fd7\u7ea7\u522b\uff0c\u5982trace=0 \u4e3a\u6700\u5c0f\u65e5\u5fd7\u8f93\u51fa\u3002<br><\/li><li>consensusloggerlevel(llcss):<br>set consensus logger level<br>[trace=0,debug=1,info=2,warn=3,err=4,critical=5,off=6]<br>\u8f93\u5165llcss +[\u65e5\u5fd7\u7ea7\u522b]\u7b49\u8bbe\u7f6e\u5171\u8bc6\u65e5\u5fd7\u8f93\u51fa\u7ea7\u522b<br><\/li><li>vm: run a javascript script or add a javascript script block to chain<br>vm run -f &lt;\u6587\u4ef6\u540d>\u5bf9.js\u5408\u7ea6\u4ee3\u7801\u6587\u4ef6\u8fdb\u884c\u8c03\u8bd5\uff0c<br>vm run + \u5408\u7ea6\u4ee3\u7801\u7247\u6bb5\uff0c\u5bf9\u5408\u7ea6\u4ee3\u7801\u7247\u6bb5\u8c03\u8bd5\u3002<br>vm + add\/addmodule + &lt;\u5408\u7ea6\u6587\u4ef6\u540d\/\u4ee3\u7801\u7247\u6bb5>\u5c06\u5408\u7ea6\u90e8\u7f72\u4e0a\u94fe<br>vm + call + [hyperblockid chainid localblockid] \u8c03\u7528\u90e8\u7f72\u5728\u94fe\u4e0a\u7684\u667a\u80fd\u5408\u7ea6\u3002<br>\u4f8b\u5982\uff0c\u5c06\u5982\u4e0b\u667a\u80fd\u5408\u7ea6\u4ee3\u7801\u5b58\u5165hcvmtest.js\u6587\u4ef6\uff0c\u5e76\u7f6e\u4e8ebin\u76ee\u5f55\u4e0b\uff1a<br>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br><code>class Student {<\/code><br><code>constructor(name,sex, age) {<\/code><br><code>this.name = name;<\/code><br><code>this.sex = sex;<\/code><br><code>this.age = age;<\/code><br><code>}<\/code><br><code>toString() {<\/code><br><code>return 'The Student is ' + this.name + ', and sex is ' + this.sex + ', age is ' + this.age;<\/code><br><code>}<\/code><br><code>}<\/code><br><code>var s=new Student(\"bob\", \"male\", 18);<\/code><br><code>s.toString();<\/code><br>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br>\u5728hc$\u540e\u9762\u8f93\u5165vm run \u2013f hcvmtest.js\u8fd0\u884c\u5408\u7ea6\u4ee3\u7801\uff1a<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/14-1.png\" alt=\"\"><br>\u5728hc$\u540e\u9762\u8f93\u5165vm add \u2013f hcvmtest.js\u5c06\u5408\u7ea6\u90e8\u7f72\u4e0a\u94fe\uff0c\u83b7\u5f97\u67e5\u8be2\u53e5\u67c4\uff0c\u90e8\u7f72\u6210\u529f\u901a\u8fc7\u67e5\u8be2\u53e5\u67c4\u83b7\u53d6\u5408\u7ea6\u5728\u94fe\u4e0a\u7684\u5e76\u884c\u94fe\u4e09\u5143\u7ec4\u5730\u5740\uff0c\u7136\u540e\u4f7f\u7528vm call\u547d\u4ee4\u8c03\u7528\uff1a<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/15-1.png\" alt=\"\"><\/li><li>exit(quit\/q): exit the program<br>\u8f93\u5165quit\u6216q\u9000\u51fa\u7a0b\u5e8f<br><img decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/16-1.png\" alt=\"\"><\/li><\/ol>\n","protected":false},"featured_media":0,"parent":208,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-211","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":1,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/211\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/211\/revisions\/299"}],"up":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/208"}],"prev":[{"title":"\u7ec4\u5efa\u79c1\u6709\u94fe\u6307\u5f15","link":"https:\/\/www.paralism.com\/info\/docs\/paralismnodecliguide\/%e9%99%84%e5%bd%95\/%e7%bb%84%e5%bb%ba%e7%a7%81%e6%9c%89%e9%93%be%e6%8c%87%e5%bc%95\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/210"}],"wp:attachment":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/doc_tag?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}