Complete beginner question
I just try to save in nano in Ubuntu terminal but instead it opens windows explorer asking me to open a file.
By the way CTRL X doesnt work at all. I think Windows takes over the commands of the terminal. I read this article:
How can I do to just save my file in nano terminal? thx
3 Replies
✓ Best Answer
Well, thx for the answers.
I cant try vim cause I just follow a tutorial on a youtube channel and I follow the steps.
This is what I follow:
https://www.youtube.com/watch?v=WxshIQPl0Ug
My terminal is a specific HTTPS address https://cloud.linode.com/linodes/…
In the tutorial, there is no such thing. I will try your solutions. I work with Linode.
Hey there!
That's definitely weird. Even in Windows, ctrl+x is keyboard shortcut for "Cut". I suggest looking into your hot key assignments on your keyboard.
Someone reported an issue with nano
, SSH, and Windows with CentOS back in 2016 in this Stack Exchange post. The solution there may be useful to you.
You could also try a different terminal emulator. If you're using PuTTY, there are several alternatives that might be worth giving a shot.
Finally, if nano
isn't saving files, have you tried vim
? It's a text editor with a bit steeper of a learning curve but not too difficult to get a handle on. This video on the Linode YouTube channel gives a pretty good overview of how get started with vim
.
I think my commands are doubled by the terminal and windows. Kinda weird.