Delete entry from ash editing history buffer

Alexander Kriegisch kriegaex at freetz.org
Mon Mar 5 15:46:56 UTC 2012


Is there any way to programmatically remove one/several/all entries from
ash's command line history? I am in a situation in which I need to feed
a command into a subshell, but do not want this command to appear in the
history. In bash I can use "HISTCONTROL=ignorespace" and just precede
the command by a single space, but I have no idea how to manipulate the
history in ash.
-- 
Alexander Kriegisch


More information about the busybox mailing list