tried the standard 'history -c' and 'events history clear'.
Basically I have a value I dont want to show up at the propmt is a user is cycling through the "up arrow history" while in ncli.
Anyone with the command?
Best answer by BrentHysopView original
As a side node, we're actively in the midst of writing NCLI's revamp/replacement for a future release, so if for some reason we can't (from a user perspective) do this easily, we can feature request it for the revamp, and make sure we can do it there.
re the side note, yes these are in a staging state right now (doign a bunch of LAG testing and resiliency tests), we'll be sure to get them fully configured closer to deployment!
the ncli history is stored locally on each node in the file /home/nutanix/.nutanix_history
You can edit this file and remove the lines you don't want to appear, or delete it to clear the whole history.
To clear ncli history on all the nodes, run:
allssh 'rm ~/.nutanix_history'
I will get the docs team to spruce that up.