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 | 31 |
Tags
- PlayBook
- proxycfg
- endpoint security
- ssh key 배포
- ansible
- ELASTIC
- bash
- pfsense
- application security
- hardening
- Windows
- XCP-ng
- Kibana server is not ready yet
- G-suite
- centos 8
- x-pack
- Kibana
- elastic stack
- macos
- Proxy
- miniconda
- 한글가이드
- 보안양파
- freebsd
- 로그인불가
- GitLab
- docker
- Elasticsearch
- xe guest utilities
Archives
- Today
- Total
선 밖에 선 자유인
bash 문자열 포함 본문
A = "홍길동"
B = "의적 홍길동"
A가 B문자열에 포함되는지 확인 시
if [[ "$A" =~ "$B" ]]; then
<action>
fi
or
if [[ "$A" == *"$B"* ]]; then
<action>
fi
Comments