3.3.5. 印刷入力(echo)
echo コマンドを使用して、画面に入力を出力します。
$out 変数を使用して、最後のシェルコマンド出力を出力します。
構文
echo [input]
例3.14 echoの例
入力を出力します。
[RHEVM shell (connected)]# echo "Example text!"
[RHEVM shell (connected)]# echo "Example text!"
最後の出力を出力します。
[RHEVM shell (connected)]# echo $out
[RHEVM shell (connected)]# echo $out