Commands

Had an issue that wanted to translate two digit years into 4 digits… I realize this would be little bit different if we needed this century but we didn’t just needed 1900’s.

Two digits were getting written as 35-37 or 40-50.  Which needed to be translated to 1935 1936 1937 or 1940.1941 1942 1943 1944 1945 1946 1947 1948 1949 1950.

Or

By creating a file named ‘years’ with two digit years.  I’m sure there are better ways then this ….

67 80

55 60

45 50

 

 

Create a new directory.

(any directory name will work)

Copy your new fonts into that directory, they should have the extension *.ttf

To make all these new fonts updated to the system run.

That’s it.

So I never realized this before but certain IP addresses will get truncated in Redhat/CentOS distro’s.  Not sure if others distro’s will share this feature but something to pay attention to.  They say that the netstat output field is limited to 80 chars.   Seems like it would be wiser for them to remove some of the whitespace between the columns than to truncate the IP and I’m sure others have made the mistake as I did by grabbing

Example:

tcp        0     91 ::ffff:10.100.0.100   ::ffff:204.204.204.14:51067 ESTABLISHED

204.204.204.14 really should be 204.204.204.140.  Never noticed this until I was looking at tcpdump.

A better command to run than netstat is ss, that will also display the correct IP.  man ss for more detailed help.