![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with the History command | cleansing_flame | UNIX for Dummies Questions & Answers | 2 | 02-04-2008 12:25 PM |
| unix command history | mm00123 | SUN Solaris | 3 | 12-03-2007 07:13 AM |
| Creating a command history feature in a simple UNIX shell using C | -=Cn=- | Shell Programming and Scripting | 2 | 11-13-2007 01:04 AM |
| Command history in AIX | priya_v111 | Shell Programming and Scripting | 2 | 09-18-2006 02:48 PM |
| command history | vikasdeshmukh | UNIX for Dummies Questions & Answers | 3 | 11-14-2001 05:37 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how unix stores command history
Hi techies,
I have a doubt upon the command history utilities in Unix ... As far as I know, history stores the event number and command for upto that many number of previous commands executed in the HISTSIZE variable ... my doubt here is can we get the time in which these commands were executed and/or the user who did this ?? Does Unix store these details too in any file ... Thanks in advance, SNS |
|
|||||
|
Depends on OS (and shell)....
Some OS's have the "lastcomm" command (if accounting is properly enabled) which will show this information.... Otherwise, if you're root, check the users history file (dependant on shell) in their home directory. Cheers ZB |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|