标签:here

Bash 脚本中如何使用 here 文档将数据写入文件

Bash 脚本中如何使用 here 文档将数据写入文件

here 文档 here document (LCTT 译注:here 文档又称作 heredoc )不是什么特殊的东西,只是一种 I/O 重定向方式,它告诉 bash shell 从当前源读取输入,直到读取到只有分隔符的行。这对于向 ftp、cat、echo、ssh 和许多其他有用的 Linux/

Escape Escape 2024-07-18
0 0 0