Consider the following command:
watch -d "ps -ef | grep java"
It gives following output:
kshitiz 11369 11285 0 Oct13 ? 00:06:02 /usr/lib/jvm/jdk1.7.0_40/jre/bin/java -Djava.awt.headless=true -Didea.version==14.1.2 -Xmx512m -Dfile.e
The output beyond -Dfile.e
is truncated or flows off screen. How can I scroll to see the output or word wrap it?