[37] Results

Linux/MacOSX : Search for files by filename and extension with find command

linux mac-os-x search-file by-extension

Jotting down these useful commands here for future references, never know when I might need to recall them again on….... read more


Golang : Check if IP address is version 4 or 6

golang ip-address ipv4 ipv6

Problem :

Your Golang program needs to determine if a given IP address is version 4 or 6.

Solution….... read more


Unix/Linux/MacOSx : Get local IP address

unix linux macosx ip-address

Problem :

How to find out my MacOSX/ Linux / UNIX system ip address, subnet and related networking information from….... read more


Golang : Reverse IP address for reverse DNS lookup example

golang ip-address reverse-dns-lookup sort

Problem:

You need to reverse a given IPv4 address into a DNS reverse record form to perform reverse….... read more


Golang : Get UDP client IP address and differentiate clients by port number

golang udp udp-client-address port-number

Problem :

Your UDP server program needs to find out the UDP client IP address before writing to client. However,….... read more


Golang : Convert IPv4 address to decimal number(base 10) or integer

golang ip-address decimal-base-10 integer

Problem :

IP address in decimal is easier to search, filter or compare. For example, searching for IP address in….... read more


Linux/MacOSX : Search and delete files by extension

linux mac-os-x delete-file by-extension

Continuing from previous tutorial on how to search for files by extension with find command. For this post,….... read more


Golang : How to get username from email address

golang stringsextract-username email-address

Just need a simple solution to extract the username from a given email address. The code below uses strings.Split() function….... read more


Advertisement