which command executed on which terminal
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Shell > which command executed on which terminal




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    which command executed on which terminal  
Danish


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-06 12:29 PM

Hi All,
Can I know, on which terminal a particulaer command was executed....

For eg...was

$ls executed on pts/2 or pts/3


Is there any command like

$last etc

Thanks
Danish






[ Post a follow-up to this message ]



    Re: which command executed on which terminal  
John DuBois


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-06 12:28 AM

In article <1159014008.581142.275940@i3g2000cwc.googlegroups.com>,
Danish <me.linuxadmin@gmail.com> wrote:
>Hi All,
>Can I know, on which terminal a particulaer command was executed....
>
>For eg...was
>
>$ls executed on pts/2 or pts/3
>
>
>Is there any command like
>
>$last etc

If your OS supports process accounting, you can turn it on and it will give 
you
this information (using 'acctcom' or its equivalent).  Only executable names
are recorded, not arguments.

John
--
John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:25 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register