11-01-2023, 04:53 PM
The editor that opens up probably has 'GNU nano' in the top left.
If it is nano, once you have made your changes follow this short sequence to save and exit.
Press 'Ctrl' and 'X' together to exit from the editor.
The editor will ask 'Save modified buffer?' and give three options:-
1) 'Y' yes - use this if you want to keep the changes made
2) 'N' no - use this to exit without saving
3) 'Ctrl' and 'C' Cancel - use this to stay in the editor without saving
If you press 'Y' the editor will ask you to confirm the file name with 'File Name to Write:' followed by the file name
Press 'Enter' to accept the suggested filename.
The file will be saved and the editor will quit back to your terminal.
If it is nano, once you have made your changes follow this short sequence to save and exit.
Press 'Ctrl' and 'X' together to exit from the editor.
The editor will ask 'Save modified buffer?' and give three options:-
1) 'Y' yes - use this if you want to keep the changes made
2) 'N' no - use this to exit without saving
3) 'Ctrl' and 'C' Cancel - use this to stay in the editor without saving
If you press 'Y' the editor will ask you to confirm the file name with 'File Name to Write:' followed by the file name
Press 'Enter' to accept the suggested filename.
The file will be saved and the editor will quit back to your terminal.
stevef
clueless
clueless