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
- Linux
- centos
- resize2fs
- x-real-ip
- 아마존
- terraform
- EBS
- RDS
- DELETE
- port
- Windows
- EC2
- mysql
- Error
- ubuntu
- onpromise
- x-forward-for
- ntp
- nvme
- deragistration
- 리눅스
- 인스턴스타입
- AWS
- Query
- xen
- 센토스
- awscli
- fdisk
- VPN
- DISK
Archives
- Today
- Total
Cloud
rediscli flushdb - for문 사용 본문

#!/bin/bash
# redis-cli를 통해 Redis DB 세션데이터 초기화
for num in {0,1,2};do redis-cli -h 20.194.44.191 -n $num flushdb;done
'인프라관리-코드' 카테고리의 다른 글
| 온프라미스에서 테라폼 사용하기 (0) | 2024.09.25 |
|---|---|
| 여러개의 docker compose 파일 사용 시 주의사항 (0) | 2024.01.04 |
| windows winrm 을 사용한 log 관리 (0) | 2023.07.27 |
| windows winrm 을 사용한 date 확인 (0) | 2023.07.27 |
Comments