How can I inspect the scripts executed by an RPM?
You can run the rpm command in the following way:
rpm -qp --scripts
file.rpm
How can I inspect the scripts executed by an RPM?
You can run the rpm command in the following way:
rpm -qp --scripts
file.rpm
I have installed CentOS minimal and the commands, ifconfig, netstat and traceroute are not recognized: how come?
These are considered now deprecated or legacy commands/utilities, please get more info on their equivalent (in the order):
ip
ss
tracepath
How do I find out from which repository is a package in CentOS?
$repoquery -i openssh
Today we will start our daily – hopefully – post with a trick or solution to common and uncommon Linux tasks and problems. So stay tuned! Note that all command lines prefixed with a # must be run as root, with a $ can be run by a normal user.
Sometimes is necessary to free up some space, especially when the /boot directory is on a different partition with space constraints.
#yum install yum-utils
#package-cleanup –oldkernels –count=2
It will keep only two kernels and not remove the current running kernel; so make sure you are running the latest Kernel.