Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Right, this is a slightly annoying feature because something this happens, and other times it doesn't, very odd.

I paste a command into the terminal with a view to tweaking its arguments, and sometimes it executes the second I paste it. Sometimes it doesn't.

This ranges from embarrassing ( posting nonsensical comments on an IRC ) to dangerous.

How can I shut this feature off for good? I never, never, never want the terminal to auto execute when I paste to it.

share|improve this question
    
may be of interest - bbs.archlinux.org/viewtopic.php?id=95548 , also people have made exploits by hiding content into a copy/paste reddit.com/r/linux/comments/1bv54e/… –  Mateo Nov 15 '13 at 3:55
    
Wow, a feature should be built into Ubuntu to stop this. When would you ever want to paste a carriage return into the terminal? –  Starkers Nov 15 '13 at 9:56
add comment

1 Answer 1

up vote 5 down vote accepted

There's no auto execution. You propably are also copying a break after the command.

If you paste a command with a break, the command line thinks, that you hit the break button by yourself.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.