'unix' Archive | RSS

Finding Infinite Symlink Loops 

Sometimes you can find yourself in symlinking hell when you’ve inadvertently created a loop of links, where link A refers to file B, and file B is another link back to A, for example.
You can use the GNU version of ‘find’ to discover where the link loops are. This information is from a bug report [...]

Backup 

If the first step in any procedure is ‘backup your data’, for goodness’ sake do as it says!
Don’t think that because you’re more technical/brighter/don’t really care about the existing data that you’ll be OK.
If you don’t have a back up Murphy’s Law dictates that something disastrous will happen and you’ll lose everything.
If you do have [...]

What’s My IP Address? 

That’s an interesting question!
First the High Level Overview For Beginners
OK, maybe first we should ask ‘Why do we care?’
IP stands for Internet Protocol. It’s part of the TCP/IP (Transmission Control Protocol / Internet Protocol) network protocol which is used, pretty much, by all computers connected to a network. By network I mean a [...]

Talking to Sendmail 

Talking directly to sendmail.
You can use telnet to talk directly to sendmail. This allows you to create mail from a different account. Sendmail uses port 25 by default.
$ telnet your.mailserver.address.com 25
You should get an introductory message from sendmail.
> helo your.domain.com
Sendmail responds with address details and ‘pleased to meet you’
> mail from: person@address.mail.is.from.com
Sendmail should echo back [...]