A ignorant question, suppose i type "fc 89" in a terminal, which will take me into a text editor, after i modify the command, how can i exit the editor and execute the command? Thanks for answering...

Recommended Answers

On my system, this opens the 'nano' editor. To close out of nano, press 'Ctrl-x'. If you changed your command, then hit 'y' and Enter to save the changes. Once you exit, the command will run.

Jump to Post

All 2 Replies

On my system, this opens the 'nano' editor. To close out of nano, press 'Ctrl-x'. If you changed your command, then hit 'y' and Enter to save the changes. Once you exit, the command will run.

Thanks for your answer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.