Hacker News new | ask | show | jobs
by pepve 4947 days ago
Some tools adjust their output based on it going to a terminal or not. Try 'ls' versus 'ls | cat'.
1 comments

Indeed. I often use ps | cat to get the full command line for processes (that's otherwise truncated). All hail Java command lines.
Try 'ps auxw' - the w enables wide output.
And for really wide commands (like java) you can add another w to get the whole thing: ps auxww