LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Bash (END) how to continue (https://www.linuxquestions.org/questions/programming-9/bash-end-how-to-continue-945940/)

MerryMurray 05-19-2012 06:33 PM

Bash (END) how to continue
 
Debian update process (apt-get upgrade) displays a text file with (END) at the eof.
How do I say I wish to continue. Ctl-z, Ctl_d, and Ctl-c end the script.
There must be an easy way to continue.

Thanks

Murray

catkin 05-19-2012 11:25 PM

Depends on how the text file is being displayed. If it is with something like less then Q quits the display.

uhelp 05-19-2012 11:33 PM

that's the way less, man and some more ancient tools used to work.
Note it is a "q" not a "Q".
One should know as well the famous "/" key.
It searches for a string.
"/something" searches in the displayed file the string "something".

Read "man man" and "man less"
They have some more very useful commands.

catkin 05-19-2012 11:47 PM

Thanks for the clarification -- q is more commonly used than Q.

From the less man page: "q or Q or :q or :Q or ZZ Exits less".

uhelp 05-19-2012 11:49 PM

oh. Thanks. I didn't know this.
I always used "q" only.

catkin 05-19-2012 11:59 PM

Quote:

Originally Posted by uhelp (Post 4682996)
I always used "q" only.

Me too. I don't know why I wrote Q in the post. Something to do with long-past systems that required all commands in upper case :eek:


All times are GMT -5. The time now is 10:08 AM.