Pages

Ping: How to turn off ICMP ECHO Response on Linux Server

Kernel parameters provide a mechanism to adjust the functioning of the Linux kernel. The sysctl command can be used to view and set kernel parameters and ping response can also be denied by just changing the kernel parameter value. Let's check the present value of kernel parameter,

# sysctl net.ipv4.icmp_echo_ignore_all

Character Encoding: Convert from UTF-8 to ISO-8859-1

The iconv program converts the encoding of characters in an input file from one coded character set to another. The commands here have been tested on RHEL 5 but it should work on other Linux distributions just fine,

I already have a test UTF-8 encoded file,

# file -bi TestspecialchrUTF.txt
text/plain; charset=utf-8