vi 명령어 뒤에 같이 open할 파일의 이름들을 작성해준다.
다음 파일로
이동할때는
shift + ; 키를 누른다음 "n"을 입력해준다.
두번째 파일
이전 파일로
가려면
shift + ; 를 누르고 prev를 입력해 주면은 된다.
ps.
yy를 눌러서 특정 문장을 복사해서
p를 눌러서 다른 파일에 붙여넣는 것도 가능하다.
'linux' 카테고리의 다른 글
[Linux] Quota (0) | 2024.04.16 |
---|---|
[Linux] shell script - authority (0) | 2024.04.15 |
[Linux] installing xrdp (0) | 2024.04.15 |
[Linux] shell script - numeric calculation (0) | 2024.04.15 |
[Linux] shell script - variable (string type) (0) | 2024.04.15 |