Argh… my history file is full of linies like this:
cd “`printf “%b” ‘\0057’`”
cd “`printf “%b” ‘\0057home\0057ciprian`”
Here is a quick-fix to the history poisoning when using csh shell on a FreeBSD server:
Insert this code at the end of the .cshrc file.
mv .history .hist grep -v "printf" .hist | grep -v "echo_style" > .history rm .hist
Then, every time you log in, the history file will be cleaned for mc-crap.
Trackback from your site.