걸어서개발한바퀴

  • 홈
  • 태그
  • 방명록

Find 1

여러개의 파일에서 안에 있는 텍스트 검색하기(grep, find)

여러 개의 텍스트 파일에서 안에 있는 텍스트를 어떻게 검색할 수 있을까요? 다음과 같은 링크에서 볼 수 있습니다. stackoverflow.com/questions/15286947/how-to-perform-grep-operation-on-all-files-in-a-directory 간단한 방법은, $ grep -rni "string" * 으로 볼 수 있습니다. -r 은 recursive, -i 는 case insensitive, -n 은 찾은 라인넘버를 보여줍니다. 여기서 몇 개의 파일에서 오는지 보고 싶으면, 다음과 같은 방법이 있습니다. $ grep -rni "string" * | wc -l 만약 파일 이름만 알고 싶다면, -l을 추가하면 됩니다. $ grep -il "string" * 비슷한 역할..

Linux/Ubuntu 2021.04.30
1
더보기

방문자수Total

  • Today :
  • Yesterday :
프로필사진

개발여행 가 봅시다~

  • 분류 전체보기 (193)
    • Audio Processing (2)
    • 알고리즘 (7)
      • 리트코드 (5)
    • Data Engineering (3)
    • Linux (16)
      • Ubuntu (13)
    • Utils (15)
      • Program (4)
      • Git (6)
    • Machine Learning (30)
      • Device (7)
      • Tensorflow (5)
      • Regression (1)
    • Python (10)
      • Concurrency (4)
      • Basics (3)
    • 환경설정 (11)
    • kaggle 및 dacon (2)
    • Web Programming (18)
      • Server (5)
      • Java Spring (11)
    • Cloud (2)
      • Docker (7)
    • Network (2)
      • protocols (1)
    • Video Processing (5)
      • Gstreamer (2)
    • Image Processing (11)
      • Cv2 (8)
    • Deep Learning (30)
      • NLP (10)
      • Computer Vision (11)
    • 잡담 (2)
    • 모바일 (1)
      • 안드로이드 (10)
      • flutter (2)
    • openai (5)
    • Data Science (2)

Tag

cv2, jetson, Python, yolov5, TFlite, ubuntu, tensorflow, tx2, yolo, Git, CNN, image classification, mac, GCP, OpenCV, Android, 도커, spring boot, docker, Linux,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바