シェルとプロンプト
このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
English
The prompt
- When the terminal is ready, it shows a prompt and waits:
student@linux:~$
- That tells you who you are (
student), the computer (linux), and the folder you are in (~, your home). - You type a command after the
$, press Enter, and the computer runs it.

English
Where am I?
- The command
pwdprints your current folder — your "you are here" on the map:
pwd
- Press the ▶ on that example to try it. (
~is short for your home folder,/home/student.)
English
Make the computer talk
echosimply prints back what you type. It is the classic first command:
echo Hello from the shell
- Run it, then try the two tasks below.
English
Common mistakes
- Commands are case-sensitive:
LSis notls. - Press Enter to submit a command; you can also put multiple commands on one line, separated by
;.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
プロンプトがコマンドを待っています。pwd (print working directory) を入力して現在いるフォルダを確認し、Run をクリックしてください。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
echo は与えたものをそのまま出力します。hello という単語を出力するために使它。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
シェルは引用符のない行を語に分割するため、echoはmyとgapを受け取り、1つのスペースで結合されます。テキストをダブルクォートで囲むことで1つの語として維持します:3つのスペースを含むテキストをmy gapで印刷するためにecho "my gap"を使用します。