15강 (Vi)

유희선·2025년 1월 20일
0

Linux

목록 보기
2/18

1️⃣ Linux File Editor

(모든 Linux 배포판에서 사용 가능 > vi, vim)

vi    - visual editor
ed    - standard line editor
ex    - extended line editor
emacs - a full screen editor	
pico  - beginner's editor
vim   - advance version of vi

2️⃣ Vi 명령어

i    - insert
ESC  - escape out of any mode
r    - replace
d    - 행 delete
x    - 선택되어 있는 글자만 delete
:q!  - quit without saving
:wq! - quit and save
zz   - 작업한 내용 저장 후, 종료

u    - 명령 취소 (ctrl+z)
U    - 해당 행에서 한 명령 모두 취소
:e!  - 마지막으로 저장한 내용 이후, 한 명령 모두 취소
profile
가즈아😘

0개의 댓글