Last Updated: February 25, 2016
·
1.57K
· justinforce

Safely Paste Multiple Lines into Your Terminal

Wanna paste a bunch of commands in your terminal without running them immediately? Wrap them in parentheses! Just put a ( down before you paste. You're welcome. :)

Also handy for entering multiple commands that involve apt-get, which swallows keystrokes while running.

Example

$ ( wget https://example.org/some/archive.tar.gz
tar xf archive.tar.gz
cd archive
make
sudo make install
)