[LINUX] Command operation to not move from home position

Introduction

Until now, I've used almost 100% of the arrow keys when typing commands. I tried to summarize the commands to proceed with the command while keeping the home position without using the arrow keys.

Convenient command operation summary

ctrl + b: Back one character ctrl + f: Advance one character

ctrl + a

ctrl + a

esc + b: The beginning of the word (with the cursor on it) esc + f: The end of the word (with the cursor on it)

Delete word (with cursor)



### ● <Command cut and yank (paste)>
```ctrl + k```: Delete from the cursor position to the end of the sentence
```ctrl + u```: Delete from the cursor position to the beginning of the line
```ctrl + y```: Paste the last deleted content

# Trouble shooting

### ● <Refreshing the screen>
```ctrl + l```Or```$ clear```Erases unnecessary information and cleans the screen once

# Complementary function
### ● <Complementary function of bash>

 ・ ``` Tab key` `: The Tab key at the time of ec complements echo.
 → You can save the trouble of typing all the commands

# Command history
### ● <History operation>
```ctrl + p```Or```↑```: Previous command
 (P is previous)

```ctrl + n```Or```⇩```: One command after
 (N is next)

### ● <Search for commands typed>
```ctrl + r```: Search for commands


Recommended Posts

Command operation to not move from home position
pynq-z1 From purchase to operation check
Did not change from Python 2 to 3
From ROS for Windows installation to operation check
From 0 to Django development environment construction to basic operation
Sum from 1 to 10
How to create an article from the command line
Let's add it to the environment variable from the command ~