AjayThakur3
New Member
Why is Terminal automatically entering my command after pasting in terminal? I'm using ubuntu... vps?
Prior to pasting type a # then paste your line. It will not execute and you can remove the # and hit enter when the modifications have been completed.
but before this did not happen...what is the reason behind that and can I fix it like before?Looks like you might be copying a return or another line when you copy. This might help though.
Code:Prior to pasting type a # then paste your line. It will not execute and you can remove the # and hit enter when the modifications have been completed.
but before this did not happen...what is the reason behind that and can I fix it like before?
Yup, I'm using ssh root shell... for configuring VPS hosting. Whenever I was coping commands for that terminal automatically entering there a command line.What are you copying? if you're copying a line from a terminal, i've noticed that if you copy the whole line then there is a return in there and it causes the paste to immediately resolve.
This may vary between terminal emulators, but i would try copying different content to make sure it's not the emulator you're using.
I'm coping command line like this sudo nano /etc/apache2/apache2.confdo you copy the whole line or just the text with no white spaces at the end?
sorry I'm new at Linux...