# ^w with interactive shell; how do you get it to strike out the previous word?

**URL:** https://forums.percona.com/t/w-with-interactive-shell-how-do-you-get-it-to-strike-out-the-previous-word/1624
**Category:** Other MySQL® Questions
**Created:** [March 14, 2011, 6:59am UTC](https://forums.percona.com/t/w-with-interactive-shell-how-do-you-get-it-to-strike-out-the-previous-word/1624 "2011-03-14T06:59:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![opened](https://avatars.discourse-cdn.com/v4/letter/o/bb73d2/32.png) [@opened](https://forums.percona.com/u/opened)
#### Post date: [March 14, 2011, 6:59am UTC](https://forums.percona.com/t/w-with-interactive-shell-how-do-you-get-it-to-strike-out-the-previous-word/1624/1 "2011-03-14T06:59:32Z")

</div>

When you use the binaries from mysql, you can use ^w to delete the previous word.

^w with percona binaries will erase the whole line.

How do you get ^w to be the same between percona’s binaries/mysql binaries?

(Something related to not linking with libreadline or something?)

---

<div class="post-metadata">

### Author: ![Peter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/peter/32/2_2.png) [@Peter](https://forums.percona.com/u/Peter)
#### Post date: [March 14, 2011, 8:59pm UTC](https://forums.percona.com/t/w-with-interactive-shell-how-do-you-get-it-to-strike-out-the-previous-word/1624/2 "2011-03-14T20:59:31Z")

</div>

Which binaries are you using exactly ? What operating system ?

---

<div class="post-metadata">

### Author: ![opened](https://avatars.discourse-cdn.com/v4/letter/o/bb73d2/32.png) [@opened](https://forums.percona.com/u/opened)
#### Post date: [March 15, 2011, 11:41am UTC](https://forums.percona.com/t/w-with-interactive-shell-how-do-you-get-it-to-strike-out-the-previous-word/1624/3 "2011-03-15T11:41:08Z")

</div>

Ubuntu 10.10

Server version: 5.1.54-rel12.5-log (Percona Server (GPL), 12.5 , Revision 188)

Lucid packages.
