My Oracle Support Banner

How To Use Syslog For Logging Every Shell Command (Doc ID 2657508.1)

Last updated on APRIL 15, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64


To redirect the shell command history to syslog.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Method#1 - via rsyslog service
 Method#2 - via bash shell option
 Method#3 - via script command

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.