On 1/16/20 2:43 PM, Ed Greshko wrote:
On 2020-01-17 06:03, Samuel Sieb wrote:
> On 1/16/20 1:56 PM, Ed Greshko wrote:
>> Oh, BTW, I have
>>
>> [egreshko@f31k ~]$ rpm -q setup
>> setup-2.13.6-1.fc31.noarch
>>
>> And I know I've not altered /etc/bashrc and I get..
>>
>> [egreshko@f31k ~]$ sha256sum /etc/bashrc
>> d925e7ec2fdd6861be5f3a6d5a08a1ff13a10d23ebbb8d26717b1b75ca4f118f /etc/bashrc
>>
>> You should get the same if the file has not be changed if you have the same
package version installed
>
> Or you can just do "rpm -V setup" to see if anything has changed.
Or, you could think of 100 different ways to accomplish something in Linux.
Probably, but using the rpm command, it doesn't matter which version he
has. And it's generally applicable for any other package as well.