Hacker News new | past | comments | ask | show | jobs | submit login

A good terminal should show you the full pasted text in a confirmation popup before executing it. Also should never accept new lines from a paste. Or rather; if and when the paste contains new lines, it should show a confirmation popup so you know what the hell you're executing.



Elementary OS shows a warning message when a sudo command is copy pasted in to the terminal.


iTerm2-Nightly (not sure about main) notifies you on multiple line paste, but does not provide the contents.


Something like windows? It should treat any newline signs in the pasted text as starts of new lines, not as "enter command". The person would need to press enter after pasting.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: