Export HISTSIZE

i have written export HISTSIZE to /root/.bashrc
but it didnt work.
runnig export HISTSIZE=500 in bash works.

where is it written to?

Should work. You do login as root user?

yes,
(in dietpi dashboard)

how does it behave using SSH?

in ssh changing bashrc HISTSIZE=3 does work
in ssh export HISTSIZE=10000 does work
but doesnt show in bashrc

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.