Linux Unix help !!

"Give respect to Time, One day at right Time, Time will respect You"

Lnx Tips


 

 Clear cache Memory

# sh -c sync; echo 3 > /proc/sys/vm/drop_caches

Disable ping (icmp) response on linux system

## Stop icmp response
echo 1 >  /proc/sys/net/ipv4/icmp_echo_ignore_all

## Start icmp response
echo 0 >  /proc/sys/net/ipv4/icmp_echo_ignore_all

## Make it Permanent by adding below entry in sysctl.conf
# vi  /etc/sysctl.conf
net.ipv4.conf.icmp_echo_ignore_all = 1

### Reset already installed package file perms
# rpm --setperms


### Update rpm db
# rpm -rebuilddb
# rpm -initdb


No comments:

Post a Comment

Write Here .. your comments are always wellcome ..but no spam please !!

Followers

Pls LIKE my Story !!!