Comments on Running several commands without && or ; or ()
Post
Running several commands without && or ; or ()
+1
−3
I copy-paste several commands at once from a markdown editor (Typora) to Bash in a Putty window terminal; the file I work with reads as follows (empty lines included):
$ non sed command 1
$ non sed command 2
$ sed command 1
$ sed command 2
I want to just copy-paste everything and execute by pressing enter, but without using &&
or ;
or ()
.
What would be a good way to do so? Perhaps a function? Perhaps a Heredocument?
1 comment thread