In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "Bash Shortcut Keys in linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
I. Editing commands
Ctrl + a: move to the beginning of the command line
Ctrl + e: move to the end of the command line
Ctrl + f: move forward by character (right)
Ctrl + b: move backward by character (left)
Alt + f: move forward by word (right)
Alt + b: move back by word (left)
Ctrl + xx: move between command line header and cursor
Ctrl + u: delete from the cursor to the beginning of the command line
Ctrl + k: delete from cursor to end of command line
Ctrl + w: delete from cursor to prefix
Alt + d: delete from cursor to suffix
Ctrl + d: delete the characters at the cursor
Ctrl + h: delete the character before the cursor
Ctrl + y: paste behind the cursor
Alt + c: a word that changes from cursor to uppercase
Alt + u: a word changed from cursor to all uppercase
Alt + l: a word changed from cursor to all lowercase
Ctrl + t: swap characters at and before the cursor
Alt + t: exchange the words at and before the cursor
Alt + Backspace: same as Ctrl + w, but with some differences in delimiters [thanks for rezilla correction]
2. Control command
Ctrl + l: clear the screen
Ctrl + o: execute the current command and select the previous command
Ctrl + s: block screen output
Ctrl + Q: allow screen output
Ctrl + c: terminate the command
Ctrl + z: suspend command
Third, re-execute the order
Ctrl + r: reverse search command history
Ctrl + g: exit from historical search mode
Ctrl + p: the last command in history
Ctrl + n: the next command in history
Alt +.: use the last argument of the previous command
4. Bang (!) Command
!!: execute the previous order
! blah: execute the most recent command that starts with blah, such as! ls
! blah:p: print output only, not execute
! $: the last parameter of the previous command, compared with Alt +. The same
! $: P: printout! contents of $
! *: all parameters of the previous command
! *: P: printout! *
^ blah: delete the blah from the previous command
^ Blah ^ Foo: replace blah in the previous command with foo
^ Blah ^ Foo ^: replace all blah in the previous command with foo
This is the end of the content of "Bash Shortcut Keys in linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.