fc-list
List fonts matching
List all available fonts
fc-list
Display entire font pattern verbosely
fc-list -v
Display entire font pattern briefly
fc-list -b
Print only the names of the font families without display the other aforementioned details
fc-list : family
Select the file location, spacing or/and style of the required fonts to be displayed onscreen
fc-list : family style
Sorting and unique can also be incorporated along with this command
fc-list : family spacing | sort | uniq
This option is used to format the output text to the required pattern given by user
fc-list --format="%{family[0]}\n" | sort | uniq