Search Results

Search: Posts Made By: tigta09
13,883
Posted By tigta09
I used vi to remove all the slashes and preceding...
I used vi to remove all the slashes and preceding white space. I am running the script again, and the SEID.searches file is not growing wildly as it did before. At this point it is still empty...
13,883
Posted By tigta09
head WashFD.txt |sed -n l DS\\\\01FNB$ ...
head WashFD.txt |sed -n l
DS\\\\01FNB$
DS\\\\01KFB$
prod\\\\sealccw$
DS\\\\04JFB$
DS\\\\05PJB$
DS\\\\080HB$
DS\\\\09VLB$
DS\\\\0G9JB$
DS\\\\0JKFB$
DS\\\\0K0FB$
tail WashFD.txt |sed -n l...
13,883
Posted By tigta09
After running: grep -F -H -f WashFD.txt...
After running:


grep -F -H -f WashFD.txt $( cat xfiles ) > SEID.searches

the SEID.searches file is growing very fast, however the entries do not match what is in the WashFD.txt.

Am I...
13,883
Posted By tigta09
The x files contain http log entries. The fuchsia...
The x files contain http log entries. The fuchsia colored object is the user_id that I am looking for.

2009-09-29 13:59:04 DD\\ABCDE 152.225.186.39 Search Engines
and Portals GET ...
13,883
Posted By tigta09
Bash script too slow
I have a bash script that will take approx. 130 days to complete. I am trying to grep a list of 1,144 user ID's out of 41 (1 GB each) files. The 41 files were originally one 41 G file, but that was...
4,087
Posted By tigta09
Thanks Bakunin. It works a little bit slower...
Thanks Bakunin. It works a little bit slower than the grep, but it does work. Thanks for the help.
4,087
Posted By tigta09
I like that. I'll have to remember that! It...
I like that. I'll have to remember that! It works great and it is simple. Thanks Sanjay.
4,087
Posted By tigta09
Thanks Sanjay, but I only gave you a snippet of...
Thanks Sanjay, but I only gave you a snippet of the file, and the file has many different types of entries and information, so awk will not work as the fields numbers will change.
4,087
Posted By tigta09
grep or sed help for a word and an IP address
I would like to grab only designates and the IP address next to it. I can also live with client-ip=xx.xx.xx.xx


Any help is much appreciated.

line to grep or sed:

Received-SPF: pass...
14,297
Posted By tigta09
thanks again Srutinizer, you are very...
thanks again Srutinizer, you are very knowledgeable.
14,297
Posted By tigta09
Thanks Deepaks. That worked. What exactly is...
Thanks Deepaks. That worked. What exactly is the command saying?
14,297
Posted By tigta09
Thanks Scrutinizer, that worked great. How...
Thanks Scrutinizer, that worked great.

How would I modify this to print an IP address?
(FOO 10.192.12.102 BAR)

I thought it would work for anything in between two words but I see it only...
13,582
Posted By tigta09
I would recommend using sudo and then editing the...
I would recommend using sudo and then editing the visudo file to only list the specific commands the user can execute. To see if you already have sudo installed, as root type visudo at the command...
2,973
Posted By tigta09
chmod 755 dirname or chmod 644 filename
chmod 755 dirname or chmod 644 filename
14,297
Posted By tigta09
printing only the middle word between two patterns
How would I print the word "and" between the words "FOO" and BAR" using sed? My file has three words in it FOO and BAR. I only want the word "and".

Thanks every one.
Showing results 1 to 15 of 15

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