Content in /var/log/messagesJan 17 15:32:34 SERVER1 bash[146155]: user1 as root: ls -lJan 17 15:32:34 SERVER1 bash[146155]: user1 as root: cduser1=who am iroot=whoamils -l and cd = $BASH_COMMANDSSERVER1 = echo $HOSTbash[146155] =????My output in my script:Jan 17 15:32:34 SERVER1: user1 as root: ls -lbash[id] is missing.  content of my script:if [ -n ${BASH_VERSION} ]; thentrap caller >/dev/null || \printf '%s\n' \\$(date '+%b %d %T')\\$(hostname -s) \$(logname) as \$(whoami): \${BASH_COMMAND}\ 2>/dev/null >>/var/log/messages DEBUGfi
How do you call this? bash[146155] in /var/log/messages
linux;syslog