Posts Tagged ‘linux’

Simple merging two files with paste command

Today I learned something new! I had two files one with a list of domain names, the other with corresponding IPs. I needed to merge these two files to display domain names next to their corresponding IPs. It looks like it`s the simplest task with the command paste.  All I had to do is: paste [...]

Finding all the Domain Controllers on an Active Directory

This is how you find all the domain controllers in Active Directory. dig +short srv _ldap._tcp.active.domain here .domain part is your domain. Ex: ad.us.domain.org