LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2012, 06:33 PM   #1
MerryMurray
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
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
 
Old 05-19-2012, 11:25 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Depends on how the text file is being displayed. If it is with something like less then Q quits the display.
 
Old 05-19-2012, 11:33 PM   #3
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
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.
 
Old 05-19-2012, 11:47 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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".
 
Old 05-19-2012, 11:49 PM   #5
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
oh. Thanks. I didn't know this.
I always used "q" only.
 
Old 05-19-2012, 11:59 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by uhelp View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a Crafted bash script yelds 'Unexpected end of file' at the end of the file MCLover1337 Linux - General 5 10-15-2011 08:29 AM
LXer: Low End Linux Netbook Prices Continue To Drop LXer Syndicated Linux News 0 06-29-2009 08:20 PM
How to create a bash script to wait for wget to finish and then continue danlee Linux - General 14 05-30-2008 11:21 AM
Bash: Print usage statement & exit; otherwise continue using Bash shorthand operators stefanlasiewski Programming 9 02-07-2006 05:20 PM
lfs-6.1 Bash-3.0 [make test]log:could be error to continue?? ukyo Linux From Scratch 2 08-25-2005 07:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration