Skip to main content
edited tags
Source Link
muru
  • 78.1k
  • 16
  • 213
  • 319

I have created one script with shell scripting and the output of the script is :   

enter image description here

but i want to be the output is like this :

enter image description here

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^

if [ $CS == 0 ]; then
printf $BLUE
echo "$url$i            [Found]"
else
printf $RED
echo "$url$i            [Not Found]"
fi

I have created one script with shell scripting and the output of the script is :  enter image description here

but i want to be the output is like this :

enter image description here

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^

I have created one script with shell scripting and the output of the script is : 

enter image description here

but i want to be the output is like this :

enter image description here

and the code is :

if [ $CS == 0 ]; then
printf $BLUE
echo "$url$i            [Found]"
else
printf $RED
echo "$url$i            [Not Found]"
fi
deleted 737 characters in body
Source Link

I have created one script with shell scripting and the output of the script is :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]enter image description here

but i want to be the output is like this :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]enter image description here

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^

I have created one script with shell scripting and the output of the script is :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]

but i want to be the output is like this :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^

I have created one script with shell scripting and the output of the script is : enter image description here

but i want to be the output is like this :

enter image description here

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^

Source Link

How can i order the output of "echo" command

I have created one script with shell scripting and the output of the script is :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]

but i want to be the output is like this :

htp://kevinrimer.com/admin/ [Not Found] htp://kevinrimer.com/admincp/ [Not Found] htp://kevinrimer.com/wp-admin/ [Not Found] htp://kevinrimer.com/wp-login.php [Found] htp://kevinrimer.com/wp-login/ [Not Found] htp://kevinrimer.com/login/ [Not Found] htp://kevinrimer.com/login.php [Not Found]

and the code is :

if [ $CS == 0 ]; then printf $BLUE echo "$url$i [Found]" else printf $RED echo "$url$i [Not Found]" fi

Thanks , good Bye ^_^