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 |
Tags
- eigrp
- 장비
- 라우터
- stp
- ripng
- Vlan
- ACL
- crontab
- 명령어
- 스위치
- eigrpv2
- GLBP
- rip
- 헤더
- ospfv3
- CKA
- vrrp
- NAT
- ipv6
- Inter VLAN
- DHCP
- Chrony
- Etherchannel
- Redistribute
- OSPF
- tunneling
- OSI 7 layer
Archives
- Today
- Total
Net Eng
userdel.sh 본문
#!/bin/bash
USERLIST=user.list
cat $USERLIST | while read UNAME UPASS
do
userdel -r $UNAME > /dev/null 2>&1 \
&& echo "[ OK ] $UNAME removed." \
|| echo "[ FAIL ] $UNAME not removed"
done
'Language > Shell Script' 카테고리의 다른 글
auto_telnet_ftp.sh (0) | 2024.06.08 |
---|---|
check_file.sh (0) | 2024.06.08 |
auto_reboot.sh (0) | 2024.06.08 |
user_admin.sh (0) | 2024.06.08 |
useradd.sh (0) | 2024.06.08 |