본문 바로가기 메뉴 바로가기

끄적 끄적 로깅! 로깅!

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

끄적 끄적 로깅! 로깅!

검색하기 폼
  • All (158)
    • 리뷰 (7)
    • 운영체제 (37)
    • 프로그래밍 (34)
    • 엔지니어링 (43)
    • 빅데이터 (9)
    • 머신러닝 (1)
    • 프로젝트 (1)
    • 운영관리 (20)
    • 보안 (2)
    • 유틸 (4)
  • 방명록

전체 글 (158)
Linux 숫자 합 구하기

1awk '{sum+=$1} END {print sum}' datafilecs

운영체제 2020. 3. 5. 19:21
Linux 라인 치환하기

1perl -i -ple "s/^.*$/replace string/g if $. == 100 ; close ARGV if eof" datafilecs

운영체제 2020. 3. 5. 19:18
Python traceroute 구현

traceroute는 로컬에서 목적지 서버로 가는 네트워크 경로를 확인해주는 툴인데, 이를 Python으로 구현한 예제입니다. 12345678910111213141516171819202122232425262728293031323334353637383940414243#!/usr/bin/pythonimport socket def main(dest_name): dest_addr = socket.gethostbyname(dest_name) port = 33434 max_hops = 30 icmp = socket.getprotobyname('icmp') udp = socket.getprotobyname('udp') ttl = 1 while True: recv_socket = socket.socket(socket...

프로그래밍 2020. 3. 5. 19:15
이전 1 ··· 11 12 13 14 15 16 17 ··· 53 다음
이전 다음
    끄적 끄적 로깅! 로깅!
    warpmemory
    공지사항
    최근에 올라온 글
    최근에 달린 댓글
    Total
    Today
    Yesterday
    페이지
    • 추천사이트
    TAG
    • PowerShell
    • command
    • deview
    • 번역
    • limits
    • apache
    • Python
    • error
    • Linux
    • httpd
    • monitoring
    • Module
    • code
    • Web
    • configuration
    • 명령어
    • example
    • client
    • 코드
    • File
    • RESTful
    • Windows
    • mysql
    • check
    • Ansible
    • 이슈처리
    • 예제
    • 외부링크
    • MariaDB
    • engineering
    more
    «   2025/06   »
    일 월 화 수 목 금 토
    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
    글 보관함

    Blog is powered by Tistory / Designed by Tistory

    티스토리툴바