End a command questionWhat is the command to open a webpage in a new chromium tab?Command-line to switch between profiles in gnome-terminalcommand prompt stuck on same lineHow to get a new line at the end of pipe commandEverytime I use a sudo command it says “>>> /etc/sudoers.d/90-cloudimg-ubuntu: syntax error near line 1 <<<”Run specific command in specific instance of terminal window
Why isn't there armor to protect from spells in the Potterverse?
Why is a road bike faster than a city bike with the same effort? How much faster it can be?
How should I answer custom and border protection questions if I'm a returning citizen that hasn't been in the country for almost a decade?
What secular civic space would pioneers build for small frontier towns?
Does "as soon as" imply simultaneity?
Clear text passwords in Unix
Convex hull in a discrete space
Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?
Why, even after his imprisonment, people keep calling Hannibal Lecter "Doctor"?
Is there a concept of "peer review" in Rabbinical Judaism?
I transpose the source code, you transpose the input!
We are on WHV, my boyfriend was in a small collision, we are leaving in 2 weeks what happens if we don’t pay the damages?
What should I consider when deciding whether to delay an exam?
What does it mean by "my days-of-the-week underwear only go to Thursday" in this context?
Why did UK NHS pay for homeopathic treatments?
How can I indicate the first and the last reference number written in a page of the bibliography in the header of the page?
Reorder a matrix, twice
Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?
Need Improvement on Script Which Continuously Tests Website
What are examples of EU policies that are beneficial for one EU country, disadvantagious for another?
Beyond Futuristic Technology for an Alien Warship?
Designing a time thief proof safe
Practicality of 30 year fixed mortgage at 55 years of age
Difference between "rip up" and "rip down"
End a command question
What is the command to open a webpage in a new chromium tab?Command-line to switch between profiles in gnome-terminalcommand prompt stuck on same lineHow to get a new line at the end of pipe commandEverytime I use a sudo command it says “>>> /etc/sudoers.d/90-cloudimg-ubuntu: syntax error near line 1 <<<”Run specific command in specific instance of terminal window
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When you use the command journalctl -p err -b
for example, you get an answer that ends with "END" as the screenshot below shows. What command do I use to end this and get the opportunity to enter the next command without having to close the window and open a new one?
command-line pager
add a comment
|
When you use the command journalctl -p err -b
for example, you get an answer that ends with "END" as the screenshot below shows. What command do I use to end this and get the opportunity to enter the next command without having to close the window and open a new one?
command-line pager
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago
add a comment
|
When you use the command journalctl -p err -b
for example, you get an answer that ends with "END" as the screenshot below shows. What command do I use to end this and get the opportunity to enter the next command without having to close the window and open a new one?
command-line pager
When you use the command journalctl -p err -b
for example, you get an answer that ends with "END" as the screenshot below shows. What command do I use to end this and get the opportunity to enter the next command without having to close the window and open a new one?
command-line pager
command-line pager
edited 8 hours ago
wjandrea
10.1k4 gold badges32 silver badges70 bronze badges
10.1k4 gold badges32 silver badges70 bronze badges
asked 9 hours ago
Skalman65Skalman65
182 bronze badges
182 bronze badges
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago
add a comment
|
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago
add a comment
|
3 Answers
3
active
oldest
votes
A smooth way to end that command is to hit q (for quit). It looks like it is viewed with the viewer less
; it may be using a less-related library.
You can quit from this command and several other text mode programs with q. In this case and several other cases you can also quit with the ctrl C interrupt, but it is 'more brutal'.
1
It seems like it's actually not usingless
itself but aless
-related library, causepidof less
outputs nothing while it's running, and I tried to disable the paging withLESS=F journalctl -p err -b
but it didn't work. Compare togit
where both of those work.
– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
add a comment
|
Read man less
. In the Description section, it says:
The output is paged through less by default, and long lines are "truncated" to screen
width. The hidden part can be viewed by using the left-arrow and right-arrow keys. Paging
can be disabled; see the --no-pager option and the "Environment" section below.
So, you should read man less
to learn about this useful tool.
One of the things you can learn from man less
is:
q or Q or :q or :Q or ZZ
Exits less.
add a comment
|
Control C should do what you want
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175893%2fend-a-command-question%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
A smooth way to end that command is to hit q (for quit). It looks like it is viewed with the viewer less
; it may be using a less-related library.
You can quit from this command and several other text mode programs with q. In this case and several other cases you can also quit with the ctrl C interrupt, but it is 'more brutal'.
1
It seems like it's actually not usingless
itself but aless
-related library, causepidof less
outputs nothing while it's running, and I tried to disable the paging withLESS=F journalctl -p err -b
but it didn't work. Compare togit
where both of those work.
– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
add a comment
|
A smooth way to end that command is to hit q (for quit). It looks like it is viewed with the viewer less
; it may be using a less-related library.
You can quit from this command and several other text mode programs with q. In this case and several other cases you can also quit with the ctrl C interrupt, but it is 'more brutal'.
1
It seems like it's actually not usingless
itself but aless
-related library, causepidof less
outputs nothing while it's running, and I tried to disable the paging withLESS=F journalctl -p err -b
but it didn't work. Compare togit
where both of those work.
– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
add a comment
|
A smooth way to end that command is to hit q (for quit). It looks like it is viewed with the viewer less
; it may be using a less-related library.
You can quit from this command and several other text mode programs with q. In this case and several other cases you can also quit with the ctrl C interrupt, but it is 'more brutal'.
A smooth way to end that command is to hit q (for quit). It looks like it is viewed with the viewer less
; it may be using a less-related library.
You can quit from this command and several other text mode programs with q. In this case and several other cases you can also quit with the ctrl C interrupt, but it is 'more brutal'.
edited 8 hours ago
answered 8 hours ago
sudodussudodus
27.3k3 gold badges36 silver badges88 bronze badges
27.3k3 gold badges36 silver badges88 bronze badges
1
It seems like it's actually not usingless
itself but aless
-related library, causepidof less
outputs nothing while it's running, and I tried to disable the paging withLESS=F journalctl -p err -b
but it didn't work. Compare togit
where both of those work.
– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
add a comment
|
1
It seems like it's actually not usingless
itself but aless
-related library, causepidof less
outputs nothing while it's running, and I tried to disable the paging withLESS=F journalctl -p err -b
but it didn't work. Compare togit
where both of those work.
– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
1
1
It seems like it's actually not using
less
itself but a less
-related library, cause pidof less
outputs nothing while it's running, and I tried to disable the paging with LESS=F journalctl -p err -b
but it didn't work. Compare to git
where both of those work.– wjandrea
8 hours ago
It seems like it's actually not using
less
itself but a less
-related library, cause pidof less
outputs nothing while it's running, and I tried to disable the paging with LESS=F journalctl -p err -b
but it didn't work. Compare to git
where both of those work.– wjandrea
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
8 hours ago
add a comment
|
Read man less
. In the Description section, it says:
The output is paged through less by default, and long lines are "truncated" to screen
width. The hidden part can be viewed by using the left-arrow and right-arrow keys. Paging
can be disabled; see the --no-pager option and the "Environment" section below.
So, you should read man less
to learn about this useful tool.
One of the things you can learn from man less
is:
q or Q or :q or :Q or ZZ
Exits less.
add a comment
|
Read man less
. In the Description section, it says:
The output is paged through less by default, and long lines are "truncated" to screen
width. The hidden part can be viewed by using the left-arrow and right-arrow keys. Paging
can be disabled; see the --no-pager option and the "Environment" section below.
So, you should read man less
to learn about this useful tool.
One of the things you can learn from man less
is:
q or Q or :q or :Q or ZZ
Exits less.
add a comment
|
Read man less
. In the Description section, it says:
The output is paged through less by default, and long lines are "truncated" to screen
width. The hidden part can be viewed by using the left-arrow and right-arrow keys. Paging
can be disabled; see the --no-pager option and the "Environment" section below.
So, you should read man less
to learn about this useful tool.
One of the things you can learn from man less
is:
q or Q or :q or :Q or ZZ
Exits less.
Read man less
. In the Description section, it says:
The output is paged through less by default, and long lines are "truncated" to screen
width. The hidden part can be viewed by using the left-arrow and right-arrow keys. Paging
can be disabled; see the --no-pager option and the "Environment" section below.
So, you should read man less
to learn about this useful tool.
One of the things you can learn from man less
is:
q or Q or :q or :Q or ZZ
Exits less.
answered 7 hours ago
waltinatorwaltinator
24.7k7 gold badges42 silver badges73 bronze badges
24.7k7 gold badges42 silver badges73 bronze badges
add a comment
|
add a comment
|
Control C should do what you want
add a comment
|
Control C should do what you want
add a comment
|
Control C should do what you want
Control C should do what you want
answered 8 hours ago
PonJarPonJar
1067 bronze badges
1067 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175893%2fend-a-command-question%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
7 hours ago