I'm very new to programming and playing around with a Raspberry Pi and following tutorials on Youtube.

I have opened a file in GNU Nano 2.2.6 e.g: nano my_File.py and changed some of the data.

I'm struggling on how to overwrite the file (or save it) because when i run it in a new window it uses the original data...

Thanks.

有帮助吗?

解决方案

If you press Ctrl-X, for exit, it will ask you whether you want to save the file. Ctrl-O is for saving file without exiting the editor.

Ctrl-G is for help on key combinations.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top