I accidentally deleted /etc/services
file from my ec2 instance on AWS running Amazon Linux
.
How can I restore this file?
In Ubuntu
, I found out that this can be done using netbase
package, how can this be achieved in Amazon Linux
(centOS flavor) ?
rpm -qf /etc/services
in my case itssetup-2.8.71-7.amzn2.noarch
then please go through - centos.pkgs.org/7/centos-x86_64/…