Ask Your Question
0

dnf search excluding some words

asked 2018-01-21 12:35:35 -0600

Am doing a dnf search on "font" but I do now want texlive fonts included in results. How to sharpen a search by excluding some words?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-21 13:49:35 -0600

sideburns gravatar image

I'm not sure if you can, directly. However, you can always use grep to filter the results:

sudo dnf list *font* | grep -v textlive

would probably work, although I've not actually tried it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-01-21 12:35:35 -0600

Seen: 50 times

Last updated: Jan 21 '18