본문 바로가기

Sysops Notepad

검색하기
Sysops Notepad
프로필사진 sysops

  • 분류 전체보기 (188)
    • TIP (4)
    • IT (8)
    • 업무 (176)
      • sys (63)
      • dev (21)
      • etc (92)
    • 주식일기 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   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
Tags
  • RHEL
  • Python
  • PostgreSQL
  • GNOME
  • Elasticsearch
  • GPU
  • log
  • centos 7.5
  • bash
  • 서울시민카드
  • 파이썬
  • Audit Log
  • syslog
  • docker
  • Chrome
  • zabbix
  • Elk
  • yum
  • 크롬
  • Kubernetes
  • 디렉토리
  • Linux
  • audit
  • CentOS
  • JSON
  • K8S
  • Shell
  • 빅데이터
  • C
  • rsyslog
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록디렉토리 (2)

Sysops Notepad

[bash] 쉘 스크립트 디렉토리 or 파일 존재 여부 확인하는 법

linux bash shell script directory , file check 하는 방법 #!/bin/bash # 디렉토리 존재 유무 확인If [ ! -d 디렉토리명 ] ; then mkdir 디렉토리명fI # 파일 존재 유무 확인If [ ! -e 디렉토리명 ] ; then touch 파일명fI

업무/dev 2018. 10. 31. 20:36
[bash] 쉘 디렉토리 유무 판단하기

!#/bin/bash if [ ! -d 디렉토리명 ] ; thenMkdir 디렉토리명fi

업무/dev 2018. 9. 29. 22:43
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바