Quantcast
Channel: How to paste multiple Bash commands into a shell without losing some? - Super User
Viewing all articles
Browse latest Browse all 4

Answer by Lri for How to paste multiple Bash commands into a shell without losing some?

$
0
0

You could also use something like pbpaste | bash. And edit-and-execute-command (\C-x\C-e) also works with multiple commands.

If some commands require root permissions, you can use sudo -v to validate the timestamp for 5 minutes.


Viewing all articles
Browse latest Browse all 4

Trending Articles