If you want to know which users are currently logged in to your Linux system, which console they're using, and the date and time
they logged in, issue the who command. You'll see output something like this:
who
root tty1 Nov 2 17:57
hermie tty3 Nov 2 18:43
sigmund tty2 Nov 2 18:08
In the output shown here, the term tty stands for teletype. In the olden days of computing, a terminal was just a keyboard with an attached printer, so you read everything off the teletype.
If you've logged in with multiple virtual consoles and changed your identity on any of them, you may have some trouble figuring out who you are--or at least what user is logged in to the console you're using. If you find yourself in such an identity crisis, try this variant of the who command:
who am i
For more information on the who command, see the who manual.
Previous Lesson: Switching Users
Next Lesson: Date and Time
Comments (most recent first)
jnlickey (02 Jun 2010, 09:44)
Download or send in for a free CD for Ubuntu 9.10 or 10.0 and dual boot it
with MS Windows. Also you can download Linux Mint or Fedora 12 or 13 and
there is a neat little application (Fedora LiveUSB Creator) that you can
download to install it on a USB drive as well. Once you download the iso
file just burn it to a CD/DVD or use the application to install it to a USB
thumb drive. Then boot up your computer with the USB or CD/DVD and then
start using and learning linux. Thats what I am doing.
Also this is a great tutorial - thank you Bob for making it for all of us newbie's!
Rsingh36 (02 Jun 2010, 07:37)
This site is simply great......also,pls let me know if there is any website
where we can have hands on practice for Linux commands and simple shell
scipting...
|
|
|
![]() |
|
| <Send This Link to a Friend> <Bookmark This Page> | ||