How do I find imagemagick temp folder in linux?
<p>I am new to Imagemagick and linux. How do I find temp folder of in linux. I am using Imagemagick with liferay.</p>

<pre><code>$ ll
-rwxrwxrwx 1 root root 24332 Jun  3 05:56 a.pdf convert a.pdf -debug coder a.jpg Error: /syntaxerror in -file- Operand stack:

Execution stack:    %interp_exit   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push Dictionary stack:    --dict:1165/1684(ro)(G)--  
--dict:0/20(G)--   --dict:77/200(L)-- Current allocation mode is local Current file position is 57 GPL Ghostscript 9.06: Unrecoverable error, exit code 1 convert: Postscript delegate failed `a.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/678. convert: no images defined `a.jpg' @ error/convert.c/ConvertImageCommand/3046.
</code></pre>