Hello, What command would I use to print just the first column of a file? For example, the httpd (apache) access_log. The first column contains the IP address. How can I just output that, so that I can then pass it to "uniq" to get the uniques IP addresses that requested a page from my server? Like:
$> <command> | uniq Does this use something like 'sed' or 'gawk'? I need to learn how to use those anyways :) Thanks for any help. RDB -- Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. ------------------------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
