shell脚本里怎么输入回车啊?

sh/bash/dash/ksh/zsh等Shell脚本
回复
aatrex
帖子: 3
注册时间: 2016-10-18 9:59
系统: windows

shell脚本里怎么输入回车啊?

#1

帖子 aatrex » 2016-10-20 11:02

要写一个自动执行的脚本,执行一个指令后需要回车,怎么表示啊?比如我nohup一个进程,执行完需要回车,然后执行下一条指令,我在脚本里怎么表示这个回车?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: shell脚本里怎么输入回车啊?

#2

帖子 poloshiao » 2016-10-20 11:32

头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: shell脚本里怎么输入回车啊?

#3

帖子 vickycq » 2016-10-20 12:31

Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
astolia
论坛版主
帖子: 6436
注册时间: 2008-09-18 13:11

Re: shell脚本里怎么输入回车啊?

#4

帖子 astolia » 2016-10-20 19:27

按键盘上的enter键
回复