Search Results

Search: Posts Made By: motdman
1,643
Posted By motdman
Sorry for the confusion as I try to find my way...
Sorry for the confusion as I try to find my way around, it was not deliberate.
The text you put in code tags is not code, not variables, but rather text within a file I would like to query with...
1,643
Posted By motdman
Don, thank you for the feedback; I will try to...
Don, thank you for the feedback; I will try to revise my question.

OS: RHEL
Shell: bash

DNSname=test1.test.com

InstancePort=8080
ListenerPort=80

InstancePort=8082
ListenerPort=443
...
1,643
Posted By motdman
Issues with executing awk
I am piping some output to awk and would like to print fields $1 $2 and $3 $4 only if they exist.

Note the awk begins with awk '{print $NF " " since I want the last field printed first.
1,356
Posted By motdman
Thank you MadeInGermany
I really appreciate the feedback.

Code#2 worked for me but I'm sure the others will also do the trick.

Thanks again!:):b:
1,356
Posted By motdman
Help with variables in loop
Hello, please assist:

users="test1 test2"
keytest1="abcd"
keytest2="dbcd"

for i in $users

do

echo "$key${i}" > fileout

done

So, my objective is to take the current...
Showing results 1 to 5 of 5

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