osinfo-query - Query information in the database
syntax $ osinfo-query [OPTIONS...] TYPE [CONDITION-1 [CONDITION-2 ...]]
To List all operating systems $ osinfo-query os
To filter specific flavour os $ osinfo-query os vendor="Fedora Project"
To filter by fields $ osinfo-query --fields=short-id,version os vendor="Fedora Project"
regards, T.Dhanasekar