Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3184

Exiting the CLI after disabling and clearing history will clear content of .jboss-cli-history

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.0.0.ER4
    • Fix Version/s: 7.0.0.ER7
    • Component/s: CLI
    • Labels:
      None

      Description

      According to the history --help:

       --disable    - will disable history expansion (but will not clear the
                      previously recorded history);
       --clear      - will clear the in-memory history (but not the file one).
      

      however following sequence of commands will clear the content ~/.jboss-cli-history file

      [pkremens@dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 
       4  6 44 /home/pkremens/.jboss-cli-history
      
      [standalone@localhost:9990 /] history --disable
      [standalone@localhost:9990 /] history --clear
      [standalone@localhost:9990 /] exit
      
      [pkremens@dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 
      0 0 0 /home/pkremens/.jboss-cli-history
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  treblereel Dmitrii Tikhomirov
                  Reporter:
                  pkremens Petr Kremensky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: