[ad_1]
You might consider using a shell without history, like perhaps
/bin/sh << END
your commands without history
END
(perhaps /bin/dash
or /bin/sash
could be more appropriate than /bin/sh
)
Or even better, use the batch utility, e.g.,
batch << EOB
your commands
EOB
The history would then contain sh
or batch
which is not very meaningful.
[ad_2]