more에서 사용할 수 있는 키들의 도움말 확인하기
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,385 조회
- 0 추천
- 목록
본문
more에서 사용할 수 있는 키들의 도움말 확인하기
이번 예는 앞의 예에서도 보았듯이 more명령어 상태에서 문자열 검색, 페이지이동, 행이동등을 할 수 있는 여러 가지 키들을 확인하는 방법입니다.
먼저, more명령어를 실행합니다.
앞의 예처럼 more가 실행된 상태에서 h키를 누르면 more실행상태에서 사용할 수 있는 키들의 도움말화면을 다음과 같이 보여줍니다.
Most commands optionally preceded by integer argument k. Defaults in brackets. Star (*) indicates argument becomes new default. ------------------------------------------------------------------------------- <space> Display next k lines of text [current screen size] z Display next k lines of text [current screen size]* <return> Display next k lines of text [1]* d or ctrl-D Scroll k lines [current scroll size, initially 11]* q or Q or <interrupt> Exit from more s Skip forward k lines of text [1] f Skip forward k screenfuls of text [1] b or ctrl-B Skip backwards k screenfuls of text [1] ' Go to place where previous search started = Display current line number /<regular expression> Search for kth occurrence of regular expression [1] n Search for kth occurrence of last r.e [1] !<cmd> or :!<cmd> Execute <cmd> in a subshell v Start up /usr/bin/vi at current line ctrl-L Redraw screen :n Go to kth next file [1] :p Go to kth previous file [1] :f Display current file name and line number . Repeat previous command ------------------------------------------------------------------------------- --More-- |
위의 예와 같이 more명령어의 사용키 도움말을 보시려면 more명령어상태에서 그냥 h라고만 하시면 아래와 같이 다양한 사용키들을 보실 수 있습니다.
이 키들이 모두 사용되는 것은 아니므로 앞의 예에서 설명했던 키정도만 알고 계시면 more명령어를 파워풀하게 사용하실 수 있을 것입니다.
관련자료
-
이전
-
다음