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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.0.0.ER7
    • 7.0.0.ER4
    • CLI
    • 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
      

      Attachments

        Issue Links

          Activity

            People

              dtikhomi@redhat.com Dmitrii Tikhomirov
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: