How to avoid ambiguous redirect error in Bash ? Dushmantha Charaka script December 26, 2015 Hello , Today I was trying to take Threaddump for my Java process in single command with date and hostname like this $ jstack - …