Search Results

Search: Posts Made By: sOliver
1,439
Posted By sOliver
Store Host lookup in variable ("on the fly")
Hi,

I'm new here. I was wondering why I can't store a host lookup in a variable.


for line in $(< blacklist)
do
STOREIP=host $line;
if [[ $storeip != *bot* ]]; then
$line >> blacklist2;...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy