Skip to content

Tag: linux

Install TCP Wrappers in Slackware 14.2

How to install TCP Wrappers using the appropriate package manager? When I run pkgtool, I can see in the list that tcp_wrappers is included tcp_wrappers-7.6-x86_64-1. I want to install it. I tried the command below, with no luck. Whenever I run the command above, it says So I navigated to /var/log/packages, wh…

How To Replace Strings With X to Y Characters

I have data similar to the following: I am looking for a way to replace strings in field 2. If the number does not have 10-11 characters, I would like to replace it with 12223334444 so the output would be: My original thought was to use cut to get the second field and then use grep “[1-9]” or some…