View previous topic :: View next topic |
Author |
Message |
oiper Guru
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Fri Feb 11, 2005 10:53 pm Post subject: the "users" command |
|
|
Just wondering, but "users" has always given me the same user multiple times. Why is that?
Just to clarify:
Boot machine, login as "guy", run "users", get Code: | guy guy guy guy guy |
_________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54316 Location: 56N 3W
|
Posted: Fri Feb 11, 2005 10:58 pm Post subject: |
|
|
oiper,
You are logged in once for each time your user is listed. An xterm counts as a login.
Check the users count in _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Feb 11, 2005 10:59 pm Post subject: |
|
|
if you run "who" do you get the same amount of usernames ? _________________ linux: #232767 |
|
Back to top |
|
|
oiper Guru
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Sat Feb 12, 2005 1:37 am Post subject: |
|
|
yeah, "who" gives me the same number. That makes more since if an xterm counts. I guess that I've always opened an xterm to check it... so then at least 2 of me show up. I also usually have several terms open.
I do find it odd though. I'd think that a X session would handle/should everything under one login. _________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Sat Feb 12, 2005 3:16 am Post subject: |
|
|
oiper wrote: | I do find it odd though. I'd think that a X session would handle/should everything under one login. |
It does, but xterm opens up a new virtual terminal, just like the terminals you can use when you login without X. In other words, xterm deliberately circumvents the X-Window system and gets you back to a command line terminal interface.
-Mike |
|
Back to top |
|
|
aqua26 Guru
Joined: 02 Feb 2005 Posts: 313 Location: India
|
Posted: Sat Feb 12, 2005 8:20 am Post subject: |
|
|
justanothergentoofanatic wrote: | oiper wrote: | I do find it odd though. I'd think that a X session would handle/should everything under one login. |
It does, but xterm opens up a new virtual terminal, just like the terminals you can use when you login without X. In other words, xterm deliberately circumvents the X-Window system and gets you back to a command line terminal interface.
-Mike |
i am kinda of curious why is it so. |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Sat Feb 12, 2005 3:14 pm Post subject: |
|
|
Quote: | i am kinda of curious why is it so. |
Well, some operating systems, like the old MacOS, try to completely eliminate the command line. But then you'd need a graphical, X-Window equivalent for every command line utility. It would be possible, and maybe even more powerful if the user interface were well-designed. It would also take a lot of work.
In any case, if you do want to use the command line, it's convienent to open a virtual terminal within X. Otherwise, you'd need to quit X or manually switch to one of the available ttys (usually using alt-ctrl-Fn).
There is a good but non-technical essay by Neal Stephenson about this called In the Beginning was the Command Line: http://artlung.com/smorgasborg/C_R_Y_P_T_O_N_O_M_I_C_O_N.shtml
-Mike |
|
Back to top |
|
|
aqua26 Guru
Joined: 02 Feb 2005 Posts: 313 Location: India
|
Posted: Sat Feb 12, 2005 8:55 pm Post subject: |
|
|
thanks mike.
gr8 i would like to know more abt this do u have some more technical links.
i would like to them all. |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Sun Feb 13, 2005 1:08 am Post subject: |
|
|
That's pretty much all I know about this topic. There is a book, The Humane Interface, by Alan Cooper (inventor of the Macintosh and Visual Basic) that covers interfaces of all kinds, but it does not extensively compare/contrast command line interfaces with graphical interfaces.
Good luck,
-Mike |
|
Back to top |
|
|
aqua26 Guru
Joined: 02 Feb 2005 Posts: 313 Location: India
|
Posted: Sun Feb 13, 2005 7:30 am Post subject: |
|
|
justanothergentoofanatic wrote: | That's pretty much all I know about this topic. There is a book, The Humane Interface, by Alan Cooper (inventor of the Macintosh and Visual Basic) that covers interfaces of all kinds, but it does not extensively compare/contrast command line interfaces with graphical interfaces.
Good luck,
-Mike |
do u mean
The Humane Interface: New Directions for Designing Interactive Systems by Jef Raskin
coz Alan Cooper didn't write any book called The Human Interface. he wrote
1. About Face 2.0: The Essentials of Interaction Design
2. The Inmates Are Running the Asylum
3. About Face: The Essentials of User Interface Design
there is one more book called 'Designing the User Interface : Strategies for Effective Human-Computer Interaction (4th Edition)' by Ben Shneiderman, Catherine Plaisant
which one is good & related to this.
please |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Sun Feb 13, 2005 3:09 pm Post subject: |
|
|
Oops...good point. Since Alan Cooper is a minor diety who appears frequently in the Book of Jobs, I naturally assumed that he was responsible for the creation of all things.
I meant the Humane Interface (by Jeff Raskin), but I haven't read any of the other ones; they might be good also.
-Mike |
|
Back to top |
|
|
|