Category Archives: shell
To quickly test an imap server using telnet
telnet server 143 01 LOGIN username password 02 LIST “” * 03 SELECT mailbox Line 02 shows you all available mailboxes. To show the information about a mailbox: 04 STATUS mailbox (MESSAGES) Between () you can place one or more … Continue reading
Testing a postfix server
Never forget ho to test a postfix server, both in plain and in ssl: Original Website
Show Available Disk Space on Linux
df -h
123456789 Unix Time
Great… the unix time is reaching its 123456789 secs. Whie writing this posts there are still 4h and 30 minutes left… let’s party at the http://www.1234567890day.com/ Hoh… I was forgetting: if you want to check it on your unix machine: … Continue reading
Cat and Grep multiple files
When we need to find something in a file using bash we use to write: cat <file>.<ext> | grep <str> But what if we want to search in multiple files? cat *.<ext> | grep <str> *.<ext>