Provided by: manpages-zh_1.6.4.3-1_all 

名稱
echo - 顯示一行文字
概述
echo [短選項]... [字串列表]...
echo 長選項
描述
將字串列表中的字元輸出到標準輸出。
-n 不輸出尾隨的換行符
-e 啟用解釋反斜槓的轉義功能
-E 停用解釋反斜槓的轉義功能(預設)
--help 顯示此幫助資訊並退出
--version
顯示版本資訊並退出
若 -e 可用,則以下序列即可識別:
\\ 反斜線
\a 報警符(BEL)
\b 退格符
\c 禁止尾隨的換行符
\e escape 字元
\f 換頁符
\n 另起一行
\r 回到行首
\t 水平製表符
\v 垂直製表符
\0NNN 位元組數以八進位制數 NNN (1至3位)表示
\xHH 位元組數以十六進位制數 HH (1至2位)表示
注意:您的 shell 可能內建了自己的 echo 程式版本,它會覆蓋這裡所提及的相應版本。請查閱您的 shell 文件獲知
它所支援的選項。
注意:建議使用 printf(1) 替代本命令,因為它可以正常輸出與選項相似的字串。
作者
由 Brian Fox 和 Chet Ramey 編寫。
報告錯誤
GNU coreutils 的線上幫助: <https://www.gnu.org/software/coreutils/>
請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。
版權
Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent
permitted by law.
參見
printf(1)
完整文件請見: <https://www.gnu.org/software/coreutils/echo>
或者在本地使用: info '(coreutils) echo invocation'
跋
本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
GNU coreutils 9.1 2022年9月 ECHO(1)