Hi, In bash, I could use the following command to remove all the duplicate lines in command history. I'm wondering if this is possible in gdb. # don't put duplicate lines in the history. See bash(1) for more options export HISTCONTROL=ignoredups Thanks, Peng