Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • .bash_history not recording host/os command executed from >SQL prompt

    Posted on

    Red Hat Enterprise Linux Server release 6.7 (Santiago) is the OS version

    $ sqlplus

    SQL> !hostname -i
    10.3.10.197

    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@exaoem01 ~]$ history

    ...........................
    ........................
    1012 sqlplus
    1013 history

    From the above example It is evident that any os commands executed from "SQL> " prompt are not recorded not sure why. How can I audit or force these commands to be visible in .bash_history . Appreciate your insight.

    Regards/Hissam

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat