![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To store the output in a variable | Sudhakar333 | Shell Programming and Scripting | 2 | 07-10-2007 08:45 AM |
| Read and store each line of a file to a variable | seijihiko | UNIX for Dummies Questions & Answers | 4 | 06-17-2007 05:57 AM |
| read file and output message | happyv | Shell Programming and Scripting | 12 | 01-24-2007 09:57 PM |
| Store output and Echo | meyerder | Shell Programming and Scripting | 2 | 05-14-2006 09:44 AM |
| how to read each letter from file and store it in variable. | rajan_ka1 | UNIX for Advanced & Expert Users | 7 | 03-06-2006 09:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello all,
I need to run snoop command for a period of time (a day) and extract remote host column from it to find out who is accessing my server. When I run the following on the command line it works snoop -port 22 | awk '{print $3}' but when I do snoop -port 22 | awk '{print $3}' | while read hname;do echo $hname;done it does not work. I need to caputre the outbound hostnames and do some testing on them. Any idea would be much appreciated |
|
||||
|
Jim thanks for the input but, it is not working. I do not get anything in the output file
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|