In UnixLinux, the most efficient technique is not to operate the graphic interface, but to operate on the command line, because the command line means automation. In bash, you can use Ctrl-R instead of the upper/lower cursor key to search for historical commands. In bash, use Ctrl-W to delete the last
In Unix/Linux, the most efficient technique is not to operate the graphic interface, but to operate on the command line, because the command line means automation.
Daily
- In bash, use Ctrl-R instead of the upper/lower cursor key to search for historical commands.
- In bash, Ctrl-W is used to delete the last word and Ctrl-U is used to delete a row. Please search for the Readline Key Bindings section after man bash to see the default hotkeys of bash, such as Alt -. name the last parameter of the last command, while Alt-* lists the commands you can enter.
- Go back to the last working directory: cd? (Back to home is cd ~)