1

From https://askubuntu.com/a/831521/1471

ps -Flww -p THE_PID

I was wondering what the purpose for double w is? Is it the same as just one w?

Thanks.

5

The man ps is saying:

w      Wide output.  Use this option twice for unlimited width.
-w     Wide output.  Use this option twice for unlimited width.

either in this way ww or -w -w or any combination of these two.

4

one w is "wide", two w's is "weally wide"

2

With single 'w' output of 'ps' is truncated at terminal's window boundary. With two 'w' ('-ww') long lines may use several terminal rows to be completely visible. Reduce width of your terminal and you will easily notice the difference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.