Hello,
I have a lot of IPs in /usr/local/directadmin/admin/ip.list and I want add 3 IPs for package with name CUSTOM1 (package already exists) for new accounts. I think that for this I should use custom script but I don't know how do this.. For random 3 IPs from ip list file I use command
Anybody can help me?
I have a lot of IPs in /usr/local/directadmin/admin/ip.list and I want add 3 IPs for package with name CUSTOM1 (package already exists) for new accounts. I think that for this I should use custom script but I don't know how do this.. For random 3 IPs from ip list file I use command
Code:
shuf -c 3 /usr/local/directadmin/admin/ip.list > /usr/local/directadmin/users/USERS/user_ip.list
Anybody can help me?