CLI: Get information Ubuntu releasesGet drive informationHow can I get a complete list of non-standard repositories in use?Get information about a video from command-line toolhow to get same information of CLI in terminal?Ubuntu boots in CLI after KDE uninstallHow to get information about BIOS from terminal?How long are older point-releases of LTS supported?Command line utility displaying support information for packages and release?How to update battery information in Ubuntu 16.04?Get NVIDIA information in a friendly way?
Interior of Set Notation
Is "inadequate referencing" a euphemism for plagiarism?
Why do I have a large white artefact on the rendered image?
label a part of commutative diagram
Do people actually use the word "kaputt" in conversation?
Have the tides ever turned twice on any open problem?
Print a physical multiplication table
Asserting that Atheism and Theism are both faith based positions
Do native speakers use "ultima" and "proxima" frequently in spoken English?
Do I need an EFI partition for each 18.04 ubuntu I have on my HD?
When did hardware antialiasing start being available?
Why is this tree refusing to shed its dead leaves?
Imaginary part of expression too difficult to calculate
How do you justify more code being written by following clean code practices?
Recursively updating the MLE as new observations stream in
Was World War I a war of liberals against authoritarians?
Error in master's thesis, I do not know what to do
Norwegian Refugee travel document
How to find the largest number(s) in a list of elements, possibly non-unique?
How to balance a monster modification (zombie)?
is this saw blade faulty?
Emojional cryptic crossword
Why didn’t Eve recognize the little cockroach as a living organism?
What will the Frenchman say?
CLI: Get information Ubuntu releases
Get drive informationHow can I get a complete list of non-standard repositories in use?Get information about a video from command-line toolhow to get same information of CLI in terminal?Ubuntu boots in CLI after KDE uninstallHow to get information about BIOS from terminal?How long are older point-releases of LTS supported?Command line utility displaying support information for packages and release?How to update battery information in Ubuntu 16.04?Get NVIDIA information in a friendly way?
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
add a comment |
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
add a comment |
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
command-line support
asked 8 hours ago
guntbertguntbert
9,416133170
9,416133170
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
8 hours ago
add a comment |
Also a general specific way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
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/3.0/"u003ecc by-sa 3.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%2f1126687%2fcli-get-information-ubuntu-releases%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
8 hours ago
add a comment |
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
8 hours ago
add a comment |
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
edited 5 hours ago
answered 8 hours ago
guntbertguntbert
9,416133170
9,416133170
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
8 hours ago
add a comment |
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
8 hours ago
The other useful command from
distro-info
package is debian-distro-info
. We should respect Ubuntu parents :)– N0rbert
8 hours ago
The other useful command from
distro-info
package is debian-distro-info
. We should respect Ubuntu parents :)– N0rbert
8 hours ago
add a comment |
Also a general specific way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
add a comment |
Also a general specific way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
add a comment |
Also a general specific way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
Also a general specific way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
answered 8 hours ago
peterhpeterh
1918
1918
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%2f1126687%2fcli-get-information-ubuntu-releases%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