Files
doc-exports/docs/obs/tool-obsutil/obs_11_0066.html
weihongmin1 a41a4e0331 OBS Util 0115 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2026-02-17 10:18:57 +00:00

36 lines
3.2 KiB
HTML

<a name="obs_11_0066"></a><a name="obs_11_0066"></a>
<h1 class="topictitle1">Using the obsutil help Command to Search for Functions</h1>
<div id="body1567754108049"><p id="obs_11_0066__p8060118">obsutil provides <strong id="obs_11_0066__b17389238145417">help</strong> commands for viewing the help documents of each command. To query the help document of the bucket creation command, perform the following steps:</p>
<ol id="obs_11_0066__ol6835172422412"><li id="obs_11_0066__li3835132413244"><span>Run the <strong id="obs_11_0066__b15583112111">obsutil help</strong> command to query the list of all supported commands.</span></li><li id="obs_11_0066__li1161825515399"><span>Find the abbreviation of the command to be viewed based on the document description in the command list. For example, the abbreviation of the command for creating a bucket is <strong id="obs_11_0066__b1634155113584">mb</strong>.</span></li><li id="obs_11_0066__li9656162910404"><span>Run the <strong id="obs_11_0066__b134101905917">obsutil help mb</strong> command to view the usage and detailed functions of the <strong id="obs_11_0066__b257312178592">mb</strong> command, illustrated as follows:</span><p><pre class="screen" id="obs_11_0066__screen16120933104317">Summary:
create a bucket with the specified parameters
Syntax:
obsutil mb obs://bucket [-fs] [-acl=xxx] [-sc=xxx] [-location=xxx] [-config=xxx]
Options:
-fs
create a bucket that supports POSIX
-acl=xxx
the ACL of the bucket, possible values are [private|public-read|public-read-write]
-sc=xxx
the default storage class of the bucket, possible values are: [standard|warm|cold]
-location=xxx
the region where the bucket is located
-config=xxx
the path to the custom config file when running this command</pre>
</p></li><li id="obs_11_0066__li2062611964313"><span>Run the <strong id="obs_11_0066__b345719494615">obsutil mb obs://bucket-test -location xxx</strong> command to create a bucket named <strong id="obs_11_0066__b9474131915719">bucket-test</strong> in the <em id="obs_11_0066__i138913226714">xxx</em> region.</span></li></ol>
<div class="note" id="obs_11_0066__note6312103013241"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_11_0066__ul156041840102416"><li id="obs_11_0066__li1360474014244">For more information about the <strong id="obs_11_0066__b1114963314720">help</strong> command, see <a href="obs_11_0025.html">Viewing Command Help Information</a>.</li><li id="obs_11_0066__li137071816114816">You can set the <strong id="obs_11_0066__b12807264556">helpLanguage</strong> parameter in the configuration file to configure the language type of the <strong id="obs_11_0066__b10281326185512">help</strong> command. For example, <strong id="obs_11_0066__b1267413885512">helpLanguage=Chinese</strong> indicates that the language type of the help command is Chinese.</li><li id="obs_11_0066__li785294519259">The supported languages are Chinese and English. The default language is English.</li></ul>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_11_0033.html">Best Practices</a></div>
</div>
</div>