FG

How can I check the user command history in Unix?

Fresh3 days ago
Mar 15, 202658829 views
Confidence Score0%
0%

Problem

I know the 'history' command give me a list of the commands I have typed into the Unix terminal. How do I see the command history for all of the users currently logged onto the system?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I check the user command history in Unix?

Low Risk

You get a list of currently logged in users in (see ). The history is stored in ~/.history or for bash user in ~/.bash_history. Other shells may use other history files, so it's not that easy to get really all information. Furthermore, if a user is …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment