You are not logged in.

#1 2022-07-06 09:05:54

portaro
Member
From: Portugal
Registered: 2020-01-03
Posts: 74

[Solved] What is teh curl option to generate a list of kernels .

In past I remember that I use a curl command on terminal to link to kernel.org a list the kernels available.

The problem is that I forget what option command uses to print on terminal the kernel list ?

Last edited by portaro (2022-07-07 20:32:13)

Offline

#2 2022-07-06 09:50:46

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,698

Re: [Solved] What is teh curl option to generate a list of kernels .

Maybe ?

curl https://api.ftp-master.debian.org/madison?package=linux-image-amd64&s=experimental

Offline

#3 2022-07-06 22:22:07

portaro
Member
From: Portugal
Registered: 2020-01-03
Posts: 74

Re: [Solved] What is teh curl option to generate a list of kernels .

unklar wrote:

Maybe ?

curl https://api.ftp-master.debian.org/madison?package=linux-image-amd64&s=experimental

Take a look on the screencapture.
It is a program that I make in past with Gambas IDE but I lost the source and I can't remember the exact command options to insert on curl but the result is a search of kernels directly in a repo on kernel.org and the output is the same o the mainpage of kernel.org.

https://kernel.org/

01.png

Offline

#4 2022-07-07 20:31:52

portaro
Member
From: Portugal
Registered: 2020-01-03
Posts: 74

Re: [Solved] What is teh curl option to generate a list of kernels .

I find the solution → curl -sL https://www.kernel.org | grep "browse" | cut -d '.' -f 2- | cut -d '"' -f 1

Offline

Board footer

Powered by FluxBB