tldr/pages/osx/look.md

289 B

look

Look for lines in sorted file. More information: https://keith.github.io/xcode-man-pages/look.1.html.

  • Look for lines which begins with the given prefix:

look {{prefix}} {{path/to/file}}

  • Look for lines ignoring case:

look --ignore-case {{prefix}} {{path/to/file}}