运维网's Archiver
论坛
›
Shell/Powershell
› shell cat的特殊编辑脚本方法
haoman
发表于 2018-8-28 07:14:13
shell cat的特殊编辑脚本方法
$cat >new.txt ##编辑
this is new text. --输入内容
^C --ctrl+c退出
$cat new.txt --查看new.txt的内容
this is new text.
# catDFDF
> FDDF
> EOF --结束,下面为输出内容
DFDF
DFDF
FDDF
#
页:
[1]
查看完整版本:
shell cat的特殊编辑脚本方法