summaryrefslogtreecommitdiff
path: root/ja/using-d-i/modules/shell.xml
blob: a7559357185c7316905b1c4f09a844af21aece03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="EUC-JP"?>
<!-- retain these comments for translator revision tracking -->
<!-- original version: 21579 -->

   <sect3 id="shell">
   <title>シェルの使用とログの参照</title>
   <!-- TODO: There is nothing about logs in this section! -->

<para>

<!--
There is an <guimenuitem>Execute a Shell</guimenuitem> item on the
menu. If the menu is not available when you need to use the shell,
press <keycombo><keycap>Left Alt</keycap> <keycap>F2</keycap></keycombo>
(on a Mac keyboard, <keycombo><keycap>Option</keycap> <keycap>F2</keycap>
</keycombo>) to switch to the second <emphasis>virtual
console</emphasis>. That's the <keycap>Alt</keycap> key on the
left-hand side of the <keycap>space bar</keycap>, and the
<keycap>F2</keycap> function key, at the same time. This is a separate
window running a Bourne shell clone called <command>ash</command>.
-->
メニューには、<guimenuitem>Execute a Shell</guimenuitem> という項目があります。
シェルを使用したくてもメニューが使用できないときは、
<keycombo><keycap>Left Alt</keycap> <keycap>F2</keycap></keycombo> 
(Mac のキーボードでは、<keycombo><keycap>Option</keycap> <keycap>F2</keycap>
</keycombo>) を押して、
第 2 <emphasis>仮想コンソール</emphasis> と切り替えて下さい。
これは、<keycap>space bar</keycap> の左側の <keycap>Alt</keycap> キーと、
<keycap>F2</keycap> ファンクションキーを同時に押すことです。
これは、<command>ash</command> と呼ばれる Bourne シェルのクローンを実行する
個別ウィンドウです。

</para><para>

<!--
At this point you are booted from the RAM disk, and there is a limited
set of Unix utilities available for your use. You can see what
programs are available with the command <command>ls /bin /sbin /usr/bin
/usr/sbin</command> and by typing <command>help</command>. The
text editor is <command>nano</command>. The shell has some nice features
like autocompletion and history.
-->
この段階では RAM ディスクから起動しています。
また、使用には制限がありますが Unix ユーティリティが利用可能です。
どのプログラムが利用できるかはコマンド <command>ls /bin /sbin /usr/bin
/usr/sbin</command> や <command>help</command> とタイプするとわかります。
テキストエディタは <command>nano</command> です。
シェルには自動補完や履歴のような、気の利いた機能を備えています。

</para><para>

<!--
Use the menus to perform any task that they are able to do &mdash; the
shell and commands are only there in case something goes wrong.  In
particular, you should always use the menus, not the shell, to
activate your swap partition, because the menu software can't detect
that you've done this from the shell. Press <keycombo><keycap>Left
Alt</keycap> <keycap>F1</keycap></keycombo> to get back to menus, or
type <command>exit</command> if you used a menu item to open the
shell.
-->
実行できるタスクのすべてを実行するには、メニューを使用してください。
何かうまく行かない時のためだけに、シェルやコマンドが用意されています。
特に、シェルでスワップパーティションを有効にしてしまうと、
メニューソフトウェアがそれを検出できません。
そのため、スワップパーティションを有効にするのは、
シェルではなく必ずメニューを使用するべきです。
メニューに戻るには 
<keycombo><keycap>左 Alt</keycap> <keycap>F1</keycap></keycombo> を押すか、
メニューの項目からシェルを開いたのなら、<command>exit</command> と
タイプしてください。

</para>
   </sect3>