Finger command in Terminal

Hello,
I tried to use the Unix command 'finger' in the Terminal (Apple Terminal). Via Fast User Switching were three persons logged in but the finger command gave me only one user. Only the user who had a terminal window open was displayed by 'finger'.
My question: which command can be used from Terminal.app to show the actually logged in users?

Michael
interstingly enough 'who' and 'users' sho wwho is logged on in a GUI sessionThen they must also be logged in to a Terminal session.
For example:
<pre>ibook:~ michaelc$ users
michaelc
ibook:~ michaelc$ ps -ax -o uid=0,user|sort -u|awk '$1>500 {print $2}'
michaelc
jdoe</pre>Looking at the 'who' output shows not only the 'console' login, but the 'ttypn' logins. But users without a tty login are not listed: 'jdoe' doesn't have a 'tty' session:
<pre>ibook:~ michaelc$ ps -ax -o uid=0,user,tty|sort -u|awk '$1>500 {print $2, $3}'
michaelc ??
michaelc ttyp1
jdoe ??</pre>The '??' is the console (or GUI) login.

Similar Messages

  • How do I make who and finger commands show hostnames?

    Running a "who" or "finger" command does not show the hostname column on Solaris 9.
    The odd part is that it works on other Solaris 9 systems except one. We need to be able to know the following:
    1) users currently logged in
    2) pseudo terminal number
    3) remote hostname when connecting via ssh
    Can someone help me fix my odd workstation? I cannot find the config file nor the driver setting to change to resolve this issue.
    Thank you in advance.

    No, only the genius icon is disabled because I still have these ping features available on some songs.

  • How to delete a command in Terminal?

    Months ago I tried to sync ical via Dropbox, which required entering a command in Terminal.  Now I'd like to reverse the action.  How do I go about deleting or countermanding this command?  Thanks.

    Based on the symlink you created long ago, your calendar directory is currently stored in Dropbox.  If you want to keep your calendar data you will need to move it back to ~/Library/Calendars.
    To be on the safe side use the ls command to see which is the symlink and which is the real directory:
    ls -ld ~/Library/Calendars ~/Dropbox/Calendars
    The one that starts with L and contains 2 file paths as in
    lrwxr-xr-x 1 username group 9 Dec 4 2011 /Users/username/Library/Calendars -> /Users/username/Dropbox/Calendars
    is the symbolic link
    The one that starts with D is the real calendars directory, for example:
    drwxr-xr-x 1 username group 9 Dec 4 2011 /Users/username/Dropbox/Calendars
    NOTE:  I strongly suggest you have a current backup before you use the 'rm' command below.  One mistake with 'rm' (remove, aka delete) and you can loose data that you are not going to get back.
    To remove the symlink, and put your calendar data back where iCal expects to find it, use the following commands:
    rm ~/Library/Calendars
    mv ~/Dropbox/Calendars ~/Library/
    The rm command is removing the symlink you created.
    The mv command is moving your calendars information to ~/Library where iCal expects to find it.

  • Can I use the pfctl command in Terminal to throttle bandwidth?

    The ISP I use (Northwestel) limits my upstream bandwith to 2 Mbps. While I upload at that maximum rate, the download service is disabled.
    Plus, if I upload at that maximum rate for any sustained period of time (sustained being longer than about 5 minutes), my entire service is disabled and requires that I reset the modem to start it again.
    As you can imagine, this is very frustrating. Especially when you consider I pay $125 a month for the service.
    Very few apps offer an option to manually throttle upload speeds. Dropbox, for example, does. But Apple's PhotoStream does not.
    So I'm looking for a way to globally throttle upload speeds on my Mac to a rate less than 2 Mbps so that I can avoid the above-described problems.
    This has led me to the pfctl command in Terminal, which – from what I've read – would allow me to set an upload rate maximum limit in the Mac OS Mavericks firewall. The problem is, I'm a novice command line user and so can't figure out how to compose a command properly.
    Does anyone know how to compose a pfctl command that would enable me to limit the upstream bandwidth rate on my Mac to about 1 Mbps?
    Alternatively, is anyone aware of another way to globally set an upstream bandwidth rate limit on a Mac, perhaps a utility or app?
    Any input or thoughts will be gratefully accepted.

    There are gui apps for this.  Apple has one.
    http://apple.stackexchange.com/questions/7426/bandwidth-shaper-or-bandwidth-cont roller-app-for-mac-os-x
    my give you some more hints.
    http://www.justin.my/2012/10/how-to-limit-photostream-upload-speed-in-mac-os-x/

  • It appears from my limited research and attempts that symbolic link command in Terminal is broken in 10.8.2

    It appears from my limited research and attempts that symbolic link command in Terminal is broken in 10.8.2
    Can anyone confirm or deny my observation ?

    It appears from my limited research and attempts that symbolic link command in Terminal is broken in 10.8.2
    Can anyone confirm or deny my observation ?

  • Ifconfig command in Terminal

    When I issue "ifconfig" command in Terminal, it does not give the IP address of the network interface. I use Ethernet connection for the Mac Pro (late 2013). However, the output of ifconfig does not show the IP address.
    Is there anything I should know about using ifconfig command in Terminal? Thanks.

    Perfectly clear, but not clear that you are certain you have an internet connection. You can use an interface normally, but not be connected at the moment you ran the command.
    If I run it on mine, all interfaces are displayed. Those with a connection have inet addresses. Those not connected have no inet fields.
    If it is being hidden for some reason, you might find the why in the man page.

  • .DS_Store files undo delete command in Terminal

    I was copying large quantities of files to a poorly formatted LaCie 3T external drive and kept coming up with interruptions in copying because the Finder kept "seeing" the creation of .DS_Store files. I researched and found a command for Terminal which stopped the OS from creating .DS_Store files. I restarted my laptop and sure enough, no more .DS files are being created.
    I was then able to complete the massive transfer, I reformatted the drive, and returned all of the files to the 3T drive. Now everything's working alright.
    My question is... How do I return the creation of .DS_Store files back to normal?
    Can anyone drop me a line that I can insert into the terminal command line and get it done?
    Thanks in advance.

    You know, I did that, and nothing happened. So I then decided to re-install M.L., and I'm now manufacturing .DS_Store files with abandon.
    I've been reading that it's not a popular kind of file for folks, especially those who are working with variously formatted devices. There are some obscure advantages to having the files sit around the hard drive.
    Thanks for your advice, however. It's good to know that I wasn't so far off.

  • What is command in terminal to see host in my LAN?

    I want to see all the host in my LAN with there IP address and MAC address. Is it possible using terminal command window? If it is, what is command in terminal to see it? If not, is there any other method to do this?

    If you want to a more detailed set of counters, the command is "sh controller ethernet <BLAH>".
    Please don't forget to rate our useful posts.  

  • Setenv command in terminal.

    Hello,
    I'm using the unix "setenv" command in Terminal. But I keep getting the message: -bash: setenv: command not found
    Can anyone tell me what's wrong? Thought 'setenv' was a standard unix command.

    First this question is better asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>
    'setenv' is a csh/tcsh shell built-in command.
    The default Mac OS X shell is 'bash' which sets environment variables using
    export VARIABLE_NAME="new value for the variable"
    If you are just following some instructions you read somewhere, then either see if there is a bourne shell version (sh, bash, ksh, zsh, ...). Or translate the csh/tcsh specific commands to bourne shell varieties.
    If you are a long time csh/tcsh user and want to use that shell, then try using the
    chsh
    command.

  • RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING

    HI All,
    We have an Planning application and when the user is trying to perform some activity and ti involves in running some calculation Scripts.
    At point the application is going down and this is causing real mess.
    There is no .xcp file created in the app folder. We are unable to find the root cause of the issue.
    the following are the fixes we tried but gave us no result.
    We tried to increase the Java Heep size
    <variable id="ESS_CSS_JVM_OPTION8" value="-Xms512m"/>
    <variable id="ESS_CSS_JVM_OPTION9" value="-Xmx1024m"/>
    But the issue still exists.
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1127704896/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0.01] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [204] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1222445376/Info(1013210)
    User [hypadmin@Native Directory] set active on database [Wrkforce]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1130862912/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1132968256/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1129810240/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [87] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1134020928/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1134020928/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1135073600/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [7] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1128757568/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1128757568/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1131915584/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    [Mon Nov  4 11:24:52 2013]Local/SMARTPln///1218234688/Error(1013204)
    Client Commands are Currently Not Being Accepted
    Can you please help me out form this .
    Regards,
    Kiran.

    Hi Mady,
    Thanks for the reply.
    We have increased the Heap size and restarted the services. But this issue still exists. And also restarted the entire system but the result is the same.
    We are unable to find the root cause which is causing this issue.
    Can any one suggest me....
    Thanks in Advance.
    Regards,
    Kiran.

  • HT3211 My tracking pad is not working. It controls itself and does not follow my finger commands. If I bring it to an apple store, would I be able to have a new pad installed?

    My tracking pad is not working. It controls itself and does not follow my finger commands. If I bring it to an apple store, would I be able to have a new pad installed?

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, take the computer to the Apple store to have it checked out
    and repaired, if needed.
    Best.

  • Every Time I do the say command in terminal it shows and error message

    Every time I use the say command in terminal it brings an error message but I does say the message why does it put the error message please help

    This behavior appears to be arising with some 10.8.4 systems, based on some web searches.
    Based on what I've found, there's no specific known trigger, nor any certain cure for this.
    See if the discussion in this thread helps any with resolving the MTBEAudioUnitSoundOutput:: PropagateProperty Error -10851 error. 
    From that discussion thread, please remove any anti-malware software that might be installed and test, and create a second and separate login user and log into that user and test the say command.  
    Also test with the stock voices and not something that's been downloaded, and also (again, as a test, particularly if you're not using an English locale) see if switching your shell locale to the C locale (export LC_ALL=C) alters the behavior.
    If the system is still under warranty or if you have AppleCare with this system, please call Apple support directly and ask.

  • How do I undo these commands from terminal?

    I was trying to copy music from my iPod to my mac, so I copy & pasted these two commands into terminal:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    killall finder
    Now there's an icon on my desktop that i can't delete that says ".DS_Store and I can't open it with any of my applications.
    Please help!
    Thanks

    Not sure, try this:
    defaults write com.apple.finder AppleShowAllFile FALSE
    then
    killall Finder

  • Comment supprimer un dossier via les commandes du terminal ?

    Bonjour à tous,
    Je possède un macbook air dernière génération est ai un petit problème dessus.
    J'ai saturé mon disque dur interne (128 GO) et eu la (fausse) bonne idée d'éteindre mon mac.
    Lorsque que j'essaie de le rallumer, après avoir taper le mot de passe de ma session, un écran blanc apparait à la place de mon bureau.
    Un message d'erreur apparait "Votre disque de démarrage est saturé. Vous devez libérer de la place sur votre disque en supprimant des fichiers."
    Sauf que je ne peux accéder à mes fichiers..
    J'ai essayé de supprimer des fichiers via les commandes du terminal (démarrage en mode single user) mais ça ne marche pas..
    Est ce que quelqu'un sait comment faire sans restaurer totalement mon disque dur ??
    Merci d'avance 

    Plus d'infos ici : Aide de Creative Cloud | Partage de fichiers et de dossiers
    Par contre, pour le moment, pas de granularité des droits, juste des liens publics ou privés.

  • How do i get my commands in terminal

    I am trying to get certain commands in terminal but it will not let me download them
    I tried installing wget but it will not install in the usr/local/bin.
    I dont think I have that folder or that file
    What am i doing wrong on my mac?

    You don't need to sudo su, just sudo /dev/tty
    According to the man page,
    The most common reason for stat(2) to return "permission denied" is if you are running
           an automounter and one of the directories in your PATH is on a machine that is currently unreachable.

Maybe you are looking for

  • Ldapbind to database adapter users in OVD with email

    Hi! Can anyone tell me howto ldapbind to database adapter users in OVD with email or uid? Ldapbind with full DN work just fine. Thanks!

  • On 8.1, how do I delete photos from camera roll but not from photo stream?

    I recently updated to iOS 8.1 on my 5S and was happy to get camera roll back, but unlike in the past, when I delete a picture from camera roll, it also deletes it from photo stream.  This makes no sense; I want to delete it from my phone while keepin

  • SMP 3.0 Hybrid Application

    Hello  All , I just want to create same  application  in 3 platforms (Windows , iOS , Android ). As per my knowledge through agentry its possible . But through  Kapsel only possible with (iOS and Andorid). How about UI5 ? will it possible via UI5 for

  • Restore from time machine backup to different mac

    The logic board is fried on my apparently backed-up, out of warranty MacBook Pro (MBP), which was running Lion. I don't have enough time to figure out the steps and get it done. I need some help here. Option 1: I am weighing and thinking (and weighin

  • No "never cut words" command in the contextual menu

    When you control-click on a word, the contextual menu does not always contain the "never cut words" command (in french: "Ne jamais couper les mots"). Why ?