I SSH'd to a Linux machine using the same user and ran the same command as shown below, but the output is different. I'm relatively new to Linux, so I would appreciate an explanation for what I'm seeing.

As you can see, I don't see as many columns of data through my PuTTY session as through my PowerShell session.

enter image description here


Probably due to how wide your terminal is:

const CONDENSED_MODE = (process.stdout.columns || 300) < 120



Each terminal has a number of rows/columns. Depending on that size (which in turns depends on the window and font size) certain programs will adapt their output, so that it fits.

You can run tput cols and tput lines to check how big each terminal is. If they are the same size, you should get the same output.

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.