LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2008, 08:52 AM   #1
jonhanna
Member
 
Registered: Dec 2008
Posts: 31

Rep: Reputation: 15
question


what command do you use to determine who is logged in on a specific terminal? i f anyone know could you let me know or where to look for it.
thanks
 
Old 12-15-2008, 08:59 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

'who'.

'man who';

Code:
excerpt from 'man who';
NAME
       who - show who is logged on

SYNOPSIS
       who [OPTION]... [ FILE | ARG1 ARG2 ]

DESCRIPTION
       -a, --all
              same as -b -d --login -p -r -t -T -u

       -b, --boot
              time of last system boot

       -d, --dead
              print dead processes

       -H, --heading
              print line of column headings

       -l, --login
              print system login processes
EDIT: Your topic title should reflect what your problem is within the post. This way you will assist others in assisting you!

Last edited by onebuck; 12-15-2008 at 09:02 AM. Reason: amend post
 
Old 12-15-2008, 09:02 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Another homework assignment, right?

This will appear in any book on basic Linux command-line.

One good trick to learn is "man -k <keyword>". For example, try: "man -k users"
 
Old 12-15-2008, 09:02 AM   #4
PresGas
Member
 
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Blog Entries: 5

Rep: Reputation: 18
w or who would get you the TTY and w would also tell you what the foreground job is.
Code:
man w
should break down what each column is.
 
Old 12-15-2008, 09:07 AM   #5
jonhanna
Member
 
Registered: Dec 2008
Posts: 31

Original Poster
Rep: Reputation: 15
thanks guys i really appreciate it, my Linux teacher is not so helpful and he told me to use the internet so thats what i am trying to do. yes it is part of a question from my homework but i got the other part.i'll probably drop a question once or twice a week if thats ok with you pixellany
 
Old 12-15-2008, 09:15 AM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by jonhanna View Post
thanks guys i really appreciate it, my Linux teacher is not so helpful and he told me to use the internet so thats what i am trying to do. yes it is part of a question from my homework but i got the other part.i'll probably drop a question once or twice a week if thats ok with you pixellany
While we do enjoy helping people, we get frustrated at helping those who don't make an effort. Just doing a simple good search for linux + find logged in users will give you over 4 million search returns. Please post what ever attempt you have made for next time.
 
Old 12-15-2008, 09:17 AM   #7
jonhanna
Member
 
Registered: Dec 2008
Posts: 31

Original Poster
Rep: Reputation: 15
will do. i am attempting to find the questions first. i posted on here last week to and i did lots of searching. but thanks for helping me out guys.
 
Old 12-15-2008, 11:18 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,
Quote:
Originally Posted by jonhanna View Post
thanks guys i really appreciate it, my Linux teacher is not so helpful and he told me to use the internet so thats what i am trying to do. yes it is part of a question from my homework but i got the other part.i'll probably drop a question once or twice a week if thats ok with you pixellany
You should read the LQ rules again. You stated the instructor said "to use the Internet". I'm wondering if he/she meant in a research aspect rather than a direct query as you have done here on the LQ forum.

It would be best if you did a search here on LQ or Google then present what you have done to accomplish the assignment. If you get stuck or even have something that is not clear it is best suited for you to complete the assigned task and not just fill in the blanks via a LQ post.
 
Old 12-15-2008, 01:14 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I suppose we need a guide on how to get help with homework.....

Here are my rules:
Use informative thread titles
Acknowledge that it is homework
Show what you have already done/tried and/or give the context of the question.
Follow-up when members ask for clarification.

jonhanna meets these criteria more that do most homework posters
 
Old 12-15-2008, 01:21 PM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by pixellany View Post
I suppose we need a guide on how to get help with homework.....

Here are my rules:
Use informative thread titles
Acknowledge that it is homework
Show what you have already done/tried and/or give the context of the question.
Follow-up when members ask for clarification.

jonhanna meets these criteria more that do most homework posters
Looks and sounds good to me. I can't think of anything else to add to that.
 
Old 12-16-2008, 09:50 AM   #11
jonhanna
Member
 
Registered: Dec 2008
Posts: 31

Original Poster
Rep: Reputation: 15
well i talked to last week about my homework then to. last week i did research and you guys gave me tips on where to find what i was looking for.since the first time i posted i have not asked for the question directly. i have about 45 questions a week and i find 99% percent of them myself. and yes one buck i told my instructor i come to this forum and he said great thats a useful site with lots of helpful people. if you dont want to help me then dont post. all i am doing is asking an occasional question which this is linux questions is it not. i appreciate the help very much but i can not control if people post the answer or where to go all i can do is ask where to find it and you guys post what you want. pixellany you have been very helpful and none of this is directed towards you. but once again if any of you do not want to help dont post.
 
Old 12-16-2008, 12:22 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by jonhanna View Post
well i talked to last week about my homework then to. last week i did research and you guys gave me tips on where to find what i was looking for.since the first time i posted i have not asked for the question directly. i have about 45 questions a week and i find 99% percent of them myself. and yes one buck i told my instructor i come to this forum and he said great thats a useful site with lots of helpful people. if you dont want to help me then dont post. all i am doing is asking an occasional question which this is linux questions is it not. i appreciate the help very much but i can not control if people post the answer or where to go all i can do is ask where to find it and you guys post what you want. pixellany you have been very helpful and none of this is directed towards you. but once again if any of you do not want to help dont post.
Homework or not, you will generally get good help here if it is obvious that you are putting out some effort. The strongest reactions are directed to threads or posts which just **look like** someone taking the lazy way out.
Stick with us and you will see that we are on your side.....
 
Old 12-16-2008, 01:44 PM   #13
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by jonhanna View Post
well i talked to last week about my homework then to. last week i did research and you guys gave me tips on where to find what i was looking for.since the first time i posted i have not asked for the question directly. i have about 45 questions a week and i find 99% percent of them myself. and yes one buck i told my instructor i come to this forum and he said great thats a useful site with lots of helpful people. if you dont want to help me then dont post. all i am doing is asking an occasional question which this is linux questions is it not. i appreciate the help very much but i can not control if people post the answer or where to go all i can do is ask where to find it and you guys post what you want. pixellany you have been very helpful and none of this is directed towards you. but once again if any of you do not want to help dont post.
Jonhanna it looks like we are being harsh and in a way we are. But take a second look. We are helping by trying to get you to help your self. That way you are just not getting answers to your questions and learning nothing. So again we are helping you just in this thread we are helping you in an indirect way. Like pixellany said, stick around and you will see. Good luck with your linux career / future / or what ever you may be doing with linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-05-2004 12:05 AM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 01:53 PM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration