Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- C
- 빅데이터
- 디렉토리
- yum
- Shell
- bash
- JSON
- Linux
- docker
- 크롬
- Chrome
- Python
- GPU
- K8S
- 파이썬
- rsyslog
- PostgreSQL
- audit
- syslog
- RHEL
- GNOME
- 서울시민카드
- zabbix
- Elk
- log
- Kubernetes
- CentOS
- Audit Log
- Elasticsearch
- centos 7.5
Archives
- Today
- Total
목록디렉토리 (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