Or you both belong to the same group and have permissions set
correctly for the group.  Or have the permissions set accordingly for
"other".  And all that depends on what shell you are using and if you
have history enabled.

What shell are you using?

Regards,
- Robert

On Wed, Oct 7, 2009 at 9:10 AM, Jeremiah Bess <[email protected]> wrote:
> Only if you know either root or his password, you can type this command:
>
> sudo less /home/<username>/.bash_history
> or
> sudo -U <username> less /home/<username>/.bash_history
>
> Jeremiah E. Bess
> Network Ninja, Penguin Geek, Father of four
>
>
> On Wed, Oct 7, 2009 at 04:51, vivek_12315 <[email protected]> wrote:
>>
>> Me and my friend are logged in to a unix machine.
>>
>> I want to find a particular command fired by my friend. Is there any
>> way by which I can see his history file ?
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to