Last Updated: February 25, 2016
·
958
· andrewfenn

Quickly copy and paste commands in the terminal

In linux, osx or another unix varient you can press ctrl+u to cut the current command and ctrl+y to paste it.

1 Response
Add your response

I also frequently copy command line results by using pbcopy:

cat book.txt | pbcopy
over 1 year ago ·