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 is a road bike faster than a city bike with the same effort? How much faster it can be?
Is the order of words purely based on convention?
Why is volatility skew/smile for long term options flatter compare to short term options?
Why is my abdomen much cooler than the rest of my body after a ride?
Why is STARTTLS still used?
Youtube not blocked by iptables
Two side-by-side squares are inscribed in a semicircle. The diameter of the semicircle is 16. What is the sum of the two squares' areas?
Duplicate Tuples in two different ways
Is differentiation as a map discontinuous?
Is it impolite to ask for an in-flight catalogue with no intention of buying?
Help in drawing resonance structures in case of polybasic acids
Is a PWM required for regenerative braking on a DC Motor?
Is it acceptable to say that a reviewer's concern is not going to be addressed because then the paper would be too long?
speckled vs. spotted
Flowers sent by the birds
Why was LOGO created?
Can I enter the UK without my husband if we said we'd travel together in our visa application?
Convex hull in a discrete space
Why weren't the Death Star plans transmitted electronically?
Do we have any particular tonal center in mind when we are NOT listening music?
Beyond Futuristic Technology for an Alien Warship?
Are fuzzy sets appreciated by OR community?
Need Improvement on Script Which Continuously Tests Website
Does "as soon as" imply simultaneity?
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
6 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 8 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
6 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
6 hours ago
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
6 hours ago
Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
6 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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 7 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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
7 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
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 hours ago
@wjandrea, Thanks, I will change the answer according to your findings.
– sudodus
7 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 6 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
6 hours ago