이럴수가,, more 명령 사용할 때, spacebar로 내리기만 해서 그 외에 기능에는 관심조차 없었다.


간략하게 2개 옵션을 더 알게 되니 more 명령어를 아주 유용하게 써서 여기에 남겨둠.

나머지 옵션은 알면 더욱 유용하겠지만, 잘 안쓸듯해서 밑에 작게 적어둠.


아래로 내리기     : space bar

위로 올리기        : b 

특정 문자열 찾기 : vi와 동일하게 / (슬래쉬)를 이용, 예를들면 /test


상세 옵션정보


  h              Display this help.


  f, ^F, SPACE * Forward  N lines, default one screen.

  b, ^B        * Backward N lines, default one screen.

  j, ^E, CR    * Forward  N lines, default 1 line.

  k, ^Y        * Backward N lines, default 1 line.

  d, ^D        * Forward  N lines, default half screen or last N to d/u.

  u, ^U        * Backward N lines, default half screen or last N to d/u.

  g            * Go to line N, default 1.

  G            * Go to line N, default the end of the file.

  s            * Skips forward N lines, with a default of 1 line.

  p, %         * Position to N percent into the file.

  z            * Display N more lines and sets the screen size to N.


  r, ^L          Repaint screen.

  R              Repaint screen, discarding buffered input.


  m[a-z]         Mark the current position with the supplied letter.

  '[a-z]         Return to the position previously marked by this letter.

  ''             Return to previous position.


  /pattern     * Search forward  for N-th line containing the pattern.

  /!pattern    * Search forward  for N-th line NOT containing the pattern.

  ?pattern     * Search backward for N-th line containing the pattern.

  ?!pattern    * Search backward for N-th line NOT containing the pattern.

  n            * Repeat previous search (for N-th occurence).

  N            * Repeat previous search in the opposite direction.


  :a             Display the list of files.

  :e, E [file]   Examine a new file.

  :n           * Examine the next file.

  :p           * Examine the previous file.

  :t [tag]       Examine the tag.

  v              Run an editor on the current file.


  !command       Invokes a shell command.


  =, :f, ^G      Print current file name and stats.


  q, :q, Q, :Q, ZZ, <interrupt>   Exit.

반응형

+ Recent posts