[
https://issues.jboss.org/browse/WFCORE-1359?page=com.atlassian.jira.plugi...
]
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@dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history
4 6 44 /home/pkremens/.jboss-cli-history
{noformat}
{noformat}
[standalone@localhost:9990 /] history --disable
[standalone@localhost:9990 /] history --clear
[standalone@localhost:9990 /] exit
{noformat}
{noformat}
[pkremens@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)