Joe Brothers
  • Home

grep

A collection of 1 post
grep 사용 예시
linux

grep 사용법

grep은 파일에서 패턴에 맞는 라인을 출력하는 유틸리티다. 사용법 grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] 기본적으로 정규표현식을 사용하며, 옵션에 따라 확장 정규식(Extended Regular Expression), 펄 호환 정규식(PCRE, Perl-Compatible Regular Expression) 등을 쓸 수 있다. grep을 쉘에서 사용할 때, 패턴은 일반적으로
14 5월 2023 11 min read
Page 1 of 1
Joe Brothers © 2025
  • Sign up
Powered by Ghost