How would I add a line return delay on pasting a script into Konsole. As soon as it sees a carriage return, it adds a 3 second delay.
Announcement
Collapse
No announcement yet.
Konsole line delay
Collapse
This topic is closed.
X
X
-
Re: Konsole line delay
I'm a bit baffled by the wording of your question, but I'll give it a shot.
Code:$ sleep --help Usage: sleep NUMBER[SUFFIX]... or: sleep OPTION Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default), `m' for minutes, `h' for hours or `d' for days. Unlike most implementations that require NUMBER be an integer, here NUMBER may be an arbitrary floating point number. Given two or more arguments, pause for the amount of time specified by the sum of their values.
- Top
- Bottom
-
Re: Konsole line delay
Why would you want to paste 500 lines of commands into an ssh session? I would have thought that it would be much more efficient (if you do this more than once) to paste the commands into a script file, send the script as a file to the remote computer with sftp, send one command (with the name of the script), and then let the remote computer run them at its own pace.
- Top
- Bottom
Comment
Comment