Search Results

Search: Posts Made By: mfajer
16,437
Posted By mfajer
Interestingly enough the above command does not...
Interestingly enough the above command does not output to the file or the STDOUT (at least for me!). The following command does work:

tail -f log | tee mySecondFile.txt

As does:

awk '{if...
16,437
Posted By mfajer
Tail -f, awk and redirection
I want to run tail -f to continuously monitor a log file, outputing a specific field to a second log file. I can get the first portion to work with the following command:

tail -f log | awk '{if...
Showing results 1 to 2 of 2

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