Saturday, August 26, 2023

Command to find which rpm installed the config/binary file

 

--

yum whatprovides /usr/bin/virsh

 =>outputs which package provides the binary virsh.

-- 

if you don’t know the path , use : 

yum whatprovides */virsh

 --

Monday, August 21, 2023

git log with file details

 

--

For full path names of changed files:

git log --author=<user_mail_id>   --name-only

--

For full path names and status of changed files:

git log --author=<user_mail_id>   --name-status

-- 

For abbreviated pathnames and a diffstat of changed files:

git log --author=<user_mail_id> --stat

--

source:
https://stackoverflow.com/questions/1230084/how-to-have-git-log-show-filenames-like-svn-log-v