Linux / UNIX Tech Support Forum
This is a discussion on See what commands have been run on your Linux server within the Getting started tutorials forums, part of the Linux Getting Started category; It is really, a simple job, all you have to do is type history command to display the history of ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
|||
|
#history
is the command to see all the commands enter by the terminal it is stored in /root/.bash_history file for user root and similarly for other users in their home directory |
|
||||
|
keep in mind that smart user can delete history file or just link it back to /dev/null, a better way is to configure process and command auditing
How to keep a detailed audit trail of what’s being done on your Linux systems |
|
|||
|
Quote:
EXPORT REMP="ping -c 10 IP.ADD.RE.SS" EOF joe@localpub# source .bashrc i grep from the ICMP/IPtables log who has pinged me 10 times. i dont even appear in your .bash_history |
|
||||
|
Quote:
Code:
EXPORT: command not found Code:
export REMP="ping -c 10 google.com" Code:
lastcomm monk Code:
ping S monk stderr 0.00 secs Wed Apr 30 03:36 |
![]() |
| Tags |
| command , history , linux , track commands , track user |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to monitor RSH commands | mformit | Solaris/OpenSolaris | 0 | 11-04-2008 09:44 PM |
| basic commands? | seshaionline | Getting started tutorials | 7 | 24-03-2008 11:30 PM |
| Log all SSH commands at ssh-client | abhijith | Getting started tutorials | 4 | 24-11-2007 10:17 PM |
| Linux find subnet mask commands | chiku | Linux software | 1 | 06-12-2006 02:28 AM |
| linux commands write protect attributes | Linux software | 0 | 17-01-2006 04:52 PM | |