In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Summarize linux and unix commonly used shortcut keys, skilled use of these shortcut keys, efficiency is not only a little bit, I am deeply experienced. Who knows who uses it.
Ctrl+A: Switch to the beginning of the command line.
This is the same effect as Home. But Home is not available in some unix environments, so you can use this key combination.
Ctrl+E: Switch to the end of the command line.
This is the same effect as Home. But Home is not available in some unix environments, so you can use this key combination.
Ctrl+L: Clears the screen.
Ctrl+U: Clears the content before the clipping cursor.
Ctrl+K: Cuts the content after the clear cursor.
Ctrl+Y: Paste the character you just deleted.
This command is similar to Ctrl+Z Undo in office.
Ctrl+R: Find in History Command
This command is very practical, when history content is more, want to find a more complex command, directly use this shortcut key, enter keywords, shell will automatically find and call, very convenient.
Ctrl+C: Terminates the command.
Ctrl+D: Exit the current terminal.
Ctrl+Z: Go to background and suspend.
!!: Repeat the last command.
History shows all the numbered + historical commands you have executed. You can use it together! to carry out an order.
Ctrl+P: Display the previous command. The action is equivalent to an upward arrow.
Ctrl+N: Displays the next command. The effect is equivalent to a downward arrow.
!$: Displays the most recent command in the system.
An example of this command is that I first cat 1.txt content and then want to edit it with vim. The general practice is to display the last command with the up arrow, then move to the front of the command with home, delete cat, and type vim.
You can actually use vim!$ to replace it.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.