This isn't really a feature of the cli. It maps to the undo action (generally speaking) within Windows unless it has been re-mapped by the application you are using. In Windows for example using Windows Terminal and OpenSSH an Alt+Backspace will simply remove the last entered word.
How exactly are you connecting to your firewall and in what program? It's very possible that whatever you are using to connect simply doesn't allow that shortcut to be utilized.
Hi @JohnSimon ,
The keyboard shortcut Esc+backspace (Esc+delete on MacOS) deletes the word before the cursor. I tried all of these shortcuts on my NGFW (PAN-OS 10.1), and they work.
|Go to next in command history||Down arrow or Ctrl+n|
|Go to previous in command history||Up arrow or Ctrl+p|
|Go to beginning of line||Ctrl+a|
|Go to end of line||Ctrl+e|
|Go left one character||Ctrl+b|
|Go right one character||Ctrl+f|
|Go forward one word||Esc+f|
|Go backward one word||Esc+b|
|Delete character over cursor||Ctrl+d|
|Delete word after cursor||Esc+d|
|Delete word before cursor||Esc+backspace|
|Delete text from the cursor to end of the line||Ctrl+k|
|Delete the line||Ctrl+u|
|Paste the deleted text at cursor||Ctrl+y|
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!