Archive for the ‘bash’ Category

Find broken symlinks

Posted: 24th November 2010 by Valkyrka in bash, shell

Often times you may find that your directories contain broken symlinks ( symlinks from folders which have been deleted ). In order to find broken symlinks, the following should help : find -L /home/user/public_html -type l

Sort files in current directory by modification time

Posted: 30th May 2010 by Valkyrka in bash

This is how you can list all the files in the current directory, sorting them by modification time :

Check the validity of your ssl certificates

Posted: 27th May 2010 by BritishSongWriter in apache, bash, cyrus, dovecot, postfix

With this command you can check the validity period of your generated certificates (apache, postfix, dovecot, cyrus, etc ). Example: Encrypted certificate Content of the certificate decrypted: