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
- 장비
- 헤더
- ACL
- ospfv3
- Vlan
- 명령어
- eigrp
- OSI 7 layer
- ripng
- 스위치
- eigrpv2
- Inter VLAN
- rip
- NAT
- tunneling
- Etherchannel
- Chrony
- DHCP
- 라우터
- stp
- OSPF
- GLBP
- vrrp
- ipv6
- crontab
- CKA
- Redistribute
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 |