Update userguide translations, leavengood as nielx
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!--
|
||||
*
|
||||
* Copyright 2010-2014, Haiku. All rights reserved.
|
||||
* Copyright 2010-2016, Haiku. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
@@ -46,6 +46,7 @@
|
||||
<li><a href="../../pt_BR/applications/cli-apps.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
|
||||
<li><a href="../../ca/applications/cli-apps.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
|
||||
<li><a href="../../pl/applications/cli-apps.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
|
||||
<li><a href="../../ro/applications/cli-apps.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
|
||||
<li><a href="../../en/applications/cli-apps.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -61,10 +62,11 @@
|
||||
|
||||
<h2><img src="../../images/apps-images/cli-app-icon_64.png" alt="cli-app-icon_64.png" width="64" height="64" />Applicazioni su riga di comando specifiche per Haiku</h2>
|
||||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||||
<tr><td>Localita:</td><td style="width:15px;"></td><td><span class="path">/boot/system/bin/</span><br /><span class="path">~/config/bin/</span><br /><span class="path">~/config/non-packaged/bin/</span></td></tr>
|
||||
<tr><td>Localita:</td><td style="width:15px;"></td><td><span class="path">/boot/system/bin/</span><br />
|
||||
<span class="path">/boot/system/non-packaged/bin/</span><br /><span class="path">~/config/bin/</span><br /><span class="path">~/config/non-packaged/bin/</span></td></tr>
|
||||
</table>
|
||||
<p><br /></p>
|
||||
<p>All commandline applications shipped with Haiku are in <span class="path">/boot/system/bin/</span>. Your own or additionally installed commandline apps will appear in <span class="path">~/config/bin/</span> when installed from a .hpkg package. Otherwise you can put them into <span class="path">~/config/non-packaged/bin/</span>. All these locations are part of the PATH variable and are therefore automatically found.<br />
|
||||
<p>All commandline applications shipped with Haiku are in <span class="path">/boot/system/bin/</span>. Your own or additionally installed commandline apps will appear there as well, or in <span class="path">~/config/bin/</span>, when installed from a .hpkg package. Otherwise you can put them into <span class="path">/boot/system/non-packaged/bin/</span> or <span class="path">~/config/non-packaged/bin/</span>. All these locations are part of the PATH variable and are therefore automatically found.<br />
|
||||
The following isn't an exhaustive list of all Haiku-specific CLI apps, it serves just to highlight a few of the most useful to give you a taste. Feel encouraged to explore what's in the <span class="path">bin/</span> folders on your own a bit. Executing an app with the parameter <tt>--help</tt> shows the usage of the command and all its various options.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
@@ -79,6 +81,12 @@ Tutti questi comandi sono descritti nel capitolo <a href="../attributes.html#att
|
||||
Ogni volume ha il proprio indice, è utile tenerlo a mente quando si copia un file da un volume all'altro.<br />
|
||||
Questi comandi sono descritti nel capitolo <a href="../index.html">L'indice del filesystem</a>.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="cli-pkg" name="cli-pkg">Relating to package management: <span class="cli">package</span>, <span class="cli">pkgman</span></a></h3>
|
||||
<p>The <span class="cli">package</span> command is used to manage HPKG packages. Have a look at the article <a href="https://www.haiku-os.org/guides/daily-tasks/install-applications">Installing applications</a> to learn the very basics. Usually the tool <a href="https://github.com/haikuports/haikuports/wiki">haikuporter</a> is used to create so-called recipes for automatic package building.</p>
|
||||
<p><span class="cli">pkgman</span> is used to search, install, update and uninstall packages. Package repositories can be added, dropped and their package lists refreshed. A special kind of update is invoked with the parameter <tt>full-sync</tt>: It is more aggressive and also downgrades or removes packages, if necessary.<br />
|
||||
For more details on a parameter, append "--help", e.g. <tt>pkgman search --help</tt>.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="cli-scripting" name="cli-scripting">Comandi utili per lo scripting</a></h3>
|
||||
<p>Ecco qui alcune applicazioni particolarmente utili nello scripting (leggere il capitolo <a href="../bash-scripting.html">La bash e lo "scripting"</a>).</p>
|
||||
@@ -120,6 +128,11 @@ Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"</pre>
|
||||
<tr><td><p><span class="cli">diskimage</span></p></td><td style="width:10px;"> </td>
|
||||
<td valign="top"><p><span class="cli">diskimage</span> lets you register a regular file as disk device. For example, you can register a Haiku anyboot image, mount it in Tracker and copy, edit or remove files there before using it as source in the Installer.</p>
|
||||
</td></tr>
|
||||
<tr><td><p><span class="cli">mountvolume</span><br /><span class="cli">mount</span></p></td><td style="width:10px;"> </td>
|
||||
<td valign="top"><p><span class="cli">mountvolume</span> is preferred by many to mount local partitions and disks, because its usage is so easy: just call it with the name of the partition and you're done. Try <tt>--help</tt> for more options.</p>
|
||||
<p><span class="cli">mount</span> can additionally mount remote disks by using a network filesystem, like NFS4. You specify the used filesystem with the <tt>-t</tt> parameter and the remote location with the <tt>-p</tt> parameter. As filesystem parameter you can use anything you find in <span class="path">/system/add-ons/kernel/file_system</span> (and corresponding file hierarchies under <span class="path">~/config</span> or "<span class="path">non-packaged</span>", of course). You also have to create a folder as mountpoint. Here's an example:</p>
|
||||
<pre class="terminal">mkdir -p /DiskStation
|
||||
mount -t nfs4 -p "192.168.178.3:volume1" /DiskStation</pre></td></tr>
|
||||
<tr><td><p><span class="cli">open</span></p></td><td style="width:10px;"> </td>
|
||||
<td valign="top"><p><span class="cli">open</span> è un'applicazione semplice ma anche molto pratica. Permette di aprire qualsiasi file con la sua applicazione preferita o avviare uno specifico programma a partire dalla sua firma senza la necessità di conoscerne l'esatto percorso. Il comando funziona anche con gli URL e con le cartelle "virtuali" (<tt>.</tt> indica la cartella corrente e <tt>..</tt> indica la cartella superiore) aprendo la cartella direttamente nel Tracker.</p></td></tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user