I don't want to access the shell command history in shell. It has to block for temporary purpose and after that I am able to release that block.
e.g. when I press up arrow
in shell it shows the last command present in history, But i don't want to access history when I press up arrow on shell
Can we block history from accessing it?
i have tried set +o history
but its for different purpose.
shell:> ifconfig
shell:> #some shell.py
Login: #when I press up arrow, "ifconfig" comes here as that was last command
Password:
for Login: it only has to access input, don't access history here. After accepting Login and Password then i can able to access history again.