$ /usr/bin/who -q # You run 'who -q' and get ... anomonk root # One or more lines of space-separated user names # users=2 # Followed by a summary line $ # And back to the prompt
If there are lots of users on a system, who -q will output multiple lines of users rather than wrapping one long line. It looks like it assumes a terminal width of 80.
Cheers,
JohnGG
In reply to Re^4: parsing output of UNIX `who` command
by johngg
in thread parsing output of UNIX `who` command
by chinamox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |