걸어서개발한바퀴

  • 홈
  • 태그
  • 방명록

bash 2

bash script 이용하여 python 돌리면서 count 하기

#!/bin/bash myvar=0 while : do python3 script.py myvar=$((myvar+1)) echo "count : $myvar" sleep 1 done 위와 같이 짰습니다. 주의할 점은, 읽을 때 변수에서 $를 붙이는 점, 그리고 arithmetic calculation을 하는 syntax가 따로 있다는 점이었습니다. 관련 ref : https://stackoverflow.com/questions/6348902/how-can-i-add-numbers-in-a-bash-script

Linux 2022.05.10

리눅스에서 재귀적으로 파일들 지우기

%% 주의! 바로 터미널에서 커맨드를 실행하는 건 위험합니다!! %% 중요 파일들이 날아갈 경우 복구하는게 불가능하니, 책임감을 갖고 하세요! %% 큰 힘에는 큰 책임이 따릅니다! 더보기 파일 날아가는 걸 방지하기 위해서 sh 파일을 만들어서 실행하는걸 추천합니다. 정확한 영어 검색은 remove files in linux recursively 였고, 관련 포스트는 https://askubuntu.com/questions/377438/how-can-i-recursively-delete-all-files-of-a-specific-extension-in-the-current-di find . -name "*.bak" -type f 로 일단 확인하고, find . -name "*.bak" -type f -de..

Linux 2022.04.28
1
더보기

방문자수Total

  • Today :
  • Yesterday :
프로필사진

개발여행 가 봅시다~

  • 분류 전체보기 (194)
    • 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)
    • 환경설정 (12)
    • 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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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.

티스토리툴바