Search Results

Search: Posts Made By: Abdulelah
4,599
Posted By Abdulelah
thanks for your help and input guys, what I...
thanks for your help and input guys,

what I need is to give the nslookup an IP address each time using a while loop (done)

and than, check if a host name was returned.. if it does then great!...
1,523
Posted By Abdulelah
Thanks for that Ygor, I am really thankful for...
Thanks for that Ygor, I am really thankful for that.

thank you very much
1,523
Posted By Abdulelah
dig-x: only part of the output is needed
Hi everyone,

how can I get the highlighted text only?

I am only concerned with the first line of the "AUTHORITY SECTION" (in red).

thank you in advance
4,599
Posted By Abdulelah
I/O Redirection: how can I redirect error msgs to a temp file
Hi there,

I just want to know how can I redirect error msgs returned from running a command (e.g. nslookup) and then only print out the correct output using an if statement?.

I've tried the...
5,943
Posted By Abdulelah
I get the ip addresses from a list.. and this is...
I get the ip addresses from a list.. and this is what makes it different from yours

I only get the list of ip addresses in a variable in a loop and that I suppose I should get the host names for...
5,943
Posted By Abdulelah
here is the output of my nslookup version: ...
here is the output of my nslookup version:



---------- Post updated at 06:53 PM ---------- Previous update was at 06:51 PM ----------



thanks for that, but it doesn't work all the time.....
5,943
Posted By Abdulelah
the following: where the IP address is...
the following:



where the IP address is obtaind from a variable in a loop,
5,943
Posted By Abdulelah
nslookup: am I doing it right?
Hi guys,

I'm back to get some help again :)

I have a file that has a list of IP addresses, and I use nslookup in my script to resolve hostnames of those IPs.

the problem I'm facing is that I...
2,041
Posted By Abdulelah
m.d.ludwig, I really can't find the word to...
m.d.ludwig,

I really can't find the word to thank you.. you are a lagend indeed...

many thanks
2,041
Posted By Abdulelah
I think you are printing the whole line, while...
I think you are printing the whole line, while what I need is only printing the second column..

I've got 6 or so columns and there for I need to pick up the needed columns only.
2,041
Posted By Abdulelah
nope, that didn't work.. actually it pulled...
nope, that didn't work.. actually it pulled everything out :P
2,041
Posted By Abdulelah
yep, only the first changing value in the...
yep, only the first changing value in the protocol is printed in addition to the file value on the same line.
2,041
Posted By Abdulelah
Thanks for your interest sir, the input file...
Thanks for your interest sir,

the input file is an access log file that keeps hold of IPs, files access, and the the transmission protocol, and so on..

If I want an output that contains the...
2,041
Posted By Abdulelah
thanks for the help guru, unfortunely, it...
thanks for the help guru,

unfortunely, it hasn't worked well.. as I got values in column $1 more than what $2 has

thanks for the help any way,, I really value that

---------- Post updated at...
2,041
Posted By Abdulelah
Q: print a column based on the uniqe value of another
Hi there,

If I have the following:



and want to print the first column based on the uniqe value of the second column, so the output would be something like:



how would I do that, using...
88,307
Posted By Abdulelah
that was awsome and quick Many thanks...
that was awsome and quick

Many thanks citaylor
88,307
Posted By Abdulelah
can I remove the first char using AWK?
Hi everyone,

suppose that I have the following line:

#test your knowledge

can I use AWK to print the word "test" only? without the #?

what should I change to this:

awk '{print $1}'
...
Showing results 1 to 17 of 17

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