Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Quick Correction of Command input errors under shell

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

When entering commands, many people like to use "left and right arrow" plus "Backspace key" to delete or modify characters, which can not achieve fast operation.

Now provide some faster methods to operate, the default operation is in shell

1. Delete Typ

Ctrl-u deletes all characters before the cursor to the left

Ctrl-k removes all characters after the cursor to the right

CTRL-w removes the word before the cursor to the left

CTRL-h removes the cursor one character to the left

Ctrl-l clears the screen, keeping only one line

two。 Movement Typ

Move the Ctrl-a cursor to the front, mnemonic: ahead

Ctrl-e cursor moves to the end, mnemonic: end

Ctrl-b cursor moves to the left

3. Historical record

Ctrl-p repeatedly opens the most recent command history

4. Execute a command

Ctrl-j,Ctrl-m,Ctrl-o is similar to the operation performed by enter

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report