[jboss-jira] [JBoss JIRA] (WFCORE-1359) Exiting the CLI after disabling and clearing history will clear content of .jboss-cli-history

Alexey Loubyansky (JIRA) issues at jboss.org
Wed Feb 3 08:31:00 EST 2016


     [ https://issues.jboss.org/browse/WFCORE-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky moved JBEAP-3189 to WFCORE-1359:
--------------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-1359  (was: JBEAP-3189)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: CLI
                           (was: CLI)
       Target Release:   (was: 7.0.0.GA)
    Affects Version/s: 2.0.10.Final
                           (was: 7.0.0.ER4)


> Exiting the CLI after disabling and clearing history will clear content of .jboss-cli-history
> ---------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1359
>                 URL: https://issues.jboss.org/browse/WFCORE-1359
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.0.10.Final
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>
> According to the history --help:
> {noformat}
>  --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).
> {noformat}
> however following sequence of commands will clear the content ~/.jboss-cli-history file
> {noformat}
> [pkremens at dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 
>  4  6 44 /home/pkremens/.jboss-cli-history
> {noformat}
> {noformat}
> [standalone at localhost:9990 /] history --disable
> [standalone at localhost:9990 /] history --clear
> [standalone at localhost:9990 /] exit
> {noformat}
> {noformat}
> [pkremens at dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 
> 0 0 0 /home/pkremens/.jboss-cli-history
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list