Rotate pdf file in Ubuntu

To rotate a pdf file (e.g 180 degree) in Ubuntu you can run the following:

$ pdftk input.pdf cat 1south output output.pdf