- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-27-2021 08:10 AM
08-27-2021 02:46 PM - edited 08-27-2021 02:47 PM
Yes, I need deleting 1 word at a time, Alt + Backspace is also not working in pan-os
-John S
08-27-2021 08:09 PM - edited 08-27-2021 08:09 PM
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.
09-01-2021 05:45 AM
Thanks for the reply, am using secure crt 9.0.2, ctrl+w works with Junos & Ios to remove the last word, but behaves differently with Panos. I have checked with my peers who work on different terminal softwares, all of them report the same.
09-01-2021 07:47 PM
Does Alt+Backspace not work for clearing the last word? It does in an OpenSSH window in Windows Terminal and through a WSL window as well. I've never seen Ctl+W used to clear the last word, only ever to close tabs, close programs, ect.
04-25-2022 07:06 AM
It removes only the last letter, not the last word
02-23-2023 01:12 AM
alt + backspace deletes last word for me. did you try with both left and right "alt" on your keyboard?
02-23-2023 03:14 AM
Yes, I tried both Alt keys, both didnt work, am using Secure crt as ssh client software.
ctrl + w removes the last word in both cisco & juniper cli. it would be nice to have that in Palo alto too.
Thanks
John Simon
02-23-2023 04:31 AM - edited 02-23-2023 05:47 AM
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 |
Thanks,
Tom
07-31-2024 07:43 PM
Thanks for the reply Tom, Esc + backspace works, is it possible to remap it ctrl + w, so that it matches industry standard of unix, ios, junos etc which most people are used to.
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!