It is interesting that we can manipulate pdf file, especially pdf with many pages. Let’s say I want to extract certain page of it or combine two pdf files. So, here are the list of commands that I used to use in my daily job. #pdftk original.pdf cat 1 3 20-35 50 output final.pdf It […]
Tag: terminal
Ubuntu Xenial – Libreoffice apt-get error

OK, everything was start with the silly thing I ‘ve done. I deleted the libreoffice folder in opt then update it manually. I forgot that the earlier libreoffice I had was installed throug apt-get. So when I tried to recover, or update dependencies to any software, I got these errors. That was the tail part […]
Convert Command Failed

Here is the failed message convert: not authorized `093_bon1.pdf’ @ error/constitute.c/WriteImage/1028. In a forum, it is imagemagick setting . Here is the source. The solution is just change the /etc/ImageMagick-6/policy.xml Change the line of <policy domain=”coder” rights=”none” pattern=”PDF” />i change the rights to “read|write” Then add another lain <policy domain=”coder” rights=”read|write” pattern=”LABEL” /> That’s it. […]
listing the directory only
I am happy because I knew Linux I uncovered all the possible command in the terminal mode. Small program but it can be deadly. I am not going to discuss about how deadly it is but just want to share how to list directory in terminal mode. To list a file we simply using : […]