How do I get out of file comparison and back to the upgrade
5,238
You are viewing the output of diff old-conf-file new-conf-file | more
.
Simply press Q to exit.
Related videos on Youtube
Author by
CᴴᵁᴮᴮʸNᴵᴺᴶᴬ
Developer from Essex. Developer and Owner of http://www.eshotdoctor.com/ GitHub: https://github.com/ChubbyNinja
Updated on September 18, 2022Comments
-
CᴴᵁᴮᴮʸNᴵᴺᴶᴬ almost 2 years
I'm currently upgrading my system over
SSH
And it asked me to upgrade to a new version of
ports.conf
, I choose the option to compare the two differences..How do I get back out of this without cancelling the upgrade?
-
Jos about 9 yearsYou are probably viewing the output of
diff file1 file2 | more
. Press q to exit. -
CᴴᵁᴮᴮʸNᴵᴺᴶᴬ about 9 yearsAmazing - so simple. Thank you @Jos, if you want to add it as an answer i'll accept.
-
John Smith about 4 yearsDoesn't work. Tried Q, q, ctrl-Q, ctrl-q. It responds to the up and down arrows, and shows an <ok> as if it's a button, but nothing lets me exits that screen.
-
-
Yevgeniy Afanasyev about 5 yearsUpper case is a solution.
-
John Smith about 4 yearsNot for me. Neither upper nor lower case Q do anything at all.
-
IndexOutOfBoundsException about 4 years@JohnSmith I had the same problem, that no key made me quit that comparison mode. I tried it multiple times, also with "Command" + "Shift" + "Q", but nothing happened. Finally, I tried simply a (lowercase) "q" again and it worked. I could not tell you more about it unfortunately but it seems that one can solve it just by trying the same combination multiple times (perhaps after having triggered something else unconsciously by so doing).