[bash] command tips - 1

Onam Kwon·2025년 2월 13일
0

Ubuntu-LXD&LXC

목록 보기
3/3

Bare essentials

- Ctrl + b: Move back one character.
  - 왼쪽으로 한칸씩 이동
- Ctrl-f: Move forward one character.
  - 오른쪽으로 한칸씩 이동
  
- [DEL] or [Backspace]: Delete the character to the left of the cursor.
  - 커서의 왼쪽에 있는 텍스트 한칸씩 지우기(평소 지우는 기능)
- Ctrl + d:  Delete the character underneath the cursor.
  - 커서의 오른쪽에 있는 텍스트 한칸씩 지우기(평소 fn+del)
  
- Ctrl + _ or C + x C + u: Undo the last editing command.
You can undo all the way back to an empty line.
  - undo

Movement

- Ctrl + a: Move to the start of the line.
- Ctrl + e: Move to the end of the line.
- Meta + f: Move forward a word, where a word is composed of letters and digits.
- Meta + b: Move backward a word.
- Ctrl + l: Clear the screen, reprinting the current line at the top.

temp...

profile
권오남 / Onam Kwon

0개의 댓글