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