[ale] useful!

Derek Atkins derek at ihtfp.com
Fri Dec 16 15:07:17 EST 2016


Jim,

It used to be the case that the 'provides' command did a full path
compare, so I got into the habit of using:

 yum provides '*/semanage'

Maybe they've fixed this in the intervening years, but old habits die hard

-derek

On Fri, December 16, 2016 2:59 pm, Jim Kinney wrote:
> I use rpm/yum/dnf almost daily. I found a new, really useful command to
> yum. Let's say you want to run the semanage command (to manipulate the
> selinux existing settings) and you get the dreaded "command not found".
>
> Ah HA! Run the magic command"
>
> 'yum provides semanage'
>
> and it gives the package I need to install.
>
> Sadly, dnf, the yum replacement for Fedora does not always work (no
> semanage found but firefox was which is a package name instead of a
> file in a package like semanage).
> -- 
> James P. Kinney III
>
> Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his
> own tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
>
> http://heretothereideas.blogspot.com/
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the Ale mailing list