运维网's Archiver
论坛
›
Shell/Powershell
› shell中调用vi编辑器和Here Documents
shenhp
发表于 2018-8-25 08:35:39
shell中调用vi编辑器和Here Documents
若想在shell脚本中调用vi编辑器,输入的内容由here document来提供,示例如下:
#! /bin/bash
vi abc.txt
页:
[1]
查看完整版本:
shell中调用vi编辑器和Here Documents