linux-echo

创建:
更新:

常用

echo "hello"

echo -n "hello" # 这种会去掉换行

sh 不支持这个 -n 参数,很奇怪

使用-n参数zsh 后面会跟着一个百分号

Printf puts a percent sign after everything it prints

This is zsh's way of telling you that the preceding command outputted a partial line and the shell terminated that line to give you a prompt on a new line.


千里之行,始于足下
本站总访问量 本文总阅读量