簡體   English   中英

使用echo時標志-e是什么意思

[英]What does the the flag -e mean when using echo

在 bash 腳本中,我看到有人使用echo -e "stuff" -e 有什么作用?

我建議你谷歌這些東西,

它用於使回聲理解形式解釋

就像你想用 "\n" 換行

你所要做的

echo -e "Hello\n"
# for do a sound alert 
echo -e "\a"
#for tap space
echo -e "\t"

等等

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM