Skip to main content
10 events
when toggle format what by license comment
Nov 18, 2016 at 3:10 history edited slm CC BY-SA 3.0
added 270 characters in body
Nov 18, 2016 at 3:06 comment added slm @waste - ah I see what you mean. The man page does a poor job of describing that switch: "-S or --chop-long-lines Causes lines longer than the screen width to be chopped (truncated) rather than wrapped. That is, the portion of a long line that does not fit in the screen width is not shown. The default is to wrap long lines; that is, display the remainder on the next line.".
Nov 18, 2016 at 3:03 comment added waste @slm I am not sure that is the case for less -S. When you close less view everything disappears, but as long as you are in the view, you can scroll vertically but also horizontally. Copying might be difficult, though.
Nov 18, 2016 at 2:54 comment added slm @waste - good tip, just remember that -S truncates and so you may lose some of what you want to see, but otherwise good advice if you're only interested the left most columns.
Nov 17, 2016 at 23:54 comment added waste A ... | less is a good advice but sometimes your process has a huge command line and it clutters the output. In such cases ... | less -S works better.
Aug 13, 2015 at 4:04 comment added slm Depends on which version of ps
Aug 13, 2015 at 2:34 comment added Felipe Alvarez will ps always output the columns in the way you expect sort to see/process them?
Sep 26, 2013 at 15:23 history edited slm CC BY-SA 3.0
added 1707 characters in body
Sep 26, 2013 at 15:14 history edited slm CC BY-SA 3.0
added 2 characters in body
Sep 26, 2013 at 15:00 history answered slm CC BY-SA 3.0