On Tue, Oct 7, 2008 at 8:25 PM, Jim <mickeyboa@xxxxxxxxxxxxx> wrote:
Can also be done using awk ;)
awk '{ if ($5 ~ /bluetoothd/) print}' /var/log/messages > /home/user/mess/mess
--
Regards,
Michael Magua
RHCE 805008570430920
Thomas Thurman wrote:
2008/10/7 Jim <mickeyboa@xxxxxxxxxxxxx <mailto:mickeyboa@xxxxxxxxxxxxx>>Craig, Thomas thanks for your help.
What command can I use to get all the lines in /var/log/messages
that have messages on "bluetoothd" copied into a file called
"mess" in /home/user/mess ??
grep bluetoothd /var/log/messages > /home/user/mess/mess
assuming you have the rights to read messages and write to mess.
T
Jim
Can also be done using awk ;)
awk '{ if ($5 ~ /bluetoothd/) print}' /var/log/messages > /home/user/mess/mess
--
Regards,
Michael Magua
RHCE 805008570430920
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines