maximummax Posted September 4, 2016 Report Posted September 4, 2016 Grep command meeda oka question undi Quote
maximummax Posted September 4, 2016 Author Report Posted September 4, 2016 konchem complicated search undi, can you help? Quote
Pichkaari Posted September 4, 2016 Report Posted September 4, 2016 1 minute ago, maximummax said: konchem complicated search undi, can you help? basic grep lu , cut lu vachu man... logs nunchi data chudadaaniki.. Not into complicated stuff.. Whats your requirement? simple ga tell.. ardham ayithe I can give a try.. Quote
Pichkaari Posted September 4, 2016 Report Posted September 4, 2016 I'm not a linux guy, but logs nunchi .. research cheyadaniki .. nerchukunna anthe.. Quote
maximummax Posted September 4, 2016 Author Report Posted September 4, 2016 4 minutes ago, Pichkaari said: basic grep lu , cut lu vachu man... logs nunchi data chudadaaniki.. Not into complicated stuff.. Whats your requirement? simple ga tell.. ardham ayithe I can give a try.. thanks man, here is my question server paina oka directory undi example. /Bose/Logs Logs folder lo logs untai, one application will write logs continuously. log file ending ".log" untundi so, this is how it looks when you are inside /Bose/Logs + log file ki time stamps untai abc1_20160903_180.log abc2_20160903_181.log...and so on log file lopala ext ila untundi just sample pattern cheputunna, this below text will be somewhere in the log sent to server : message RequestRouteCall customer id "abdhs: DN '1234455' attributeconnid lemond54 I need to display all the above 4 files using grep --- when i search for a particular period of time ikkada unique id is : lemond54 Quote
Pichkaari Posted September 4, 2016 Report Posted September 4, 2016 1 hour ago, maximummax said: thanks man, here is my question server paina oka directory undi example. /Bose/Logs Logs folder lo logs untai, one application will write logs continuously. log file ending ".log" untundi so, this is how it looks when you are inside /Bose/Logs + log file ki time stamps untai abc1_20160903_180.log abc2_20160903_181.log...and so on log file lopala ext ila untundi just sample pattern cheputunna, this below text will be somewhere in the log sent to server : message RequestRouteCall customer id "abdhs: DN '1234455' attributeconnid lemond54 I need to display all the above 4 files using grep --- when i search for a particular period of time ikkada unique id is : lemond54 Oka sample log line pakka kavali man.. delimiter em vundho telisthe easy ga fields ni cut cheyachu .. is it comma or pipe delimetered? Quote
yomama Posted September 4, 2016 Report Posted September 4, 2016 2 hours ago, maximummax said: thanks man, here is my question server paina oka directory undi example. /Bose/Logs Logs folder lo logs untai, one application will write logs continuously. log file ending ".log" untundi so, this is how it looks when you are inside /Bose/Logs + log file ki time stamps untai abc1_20160903_180.log abc2_20160903_181.log...and so on log file lopala ext ila untundi just sample pattern cheputunna, this below text will be somewhere in the log sent to server : message RequestRouteCall customer id "abdhs: DN '1234455' attributeconnid lemond54 I need to display all the above 4 files using grep --- when i search for a particular period of time ikkada unique id is : lemond54 Try this? $ egrep wi 'RequestRouteCall | customer | DN | attributeconnid' /Bose/Logs or $ grep w 'RequestRouteCall \|customer \| DN \| attributeconnid' /Bose/Logs Quote
chandu_babu Posted September 4, 2016 Report Posted September 4, 2016 Grep -Ri "pattern" will give all all the directories(actually path) and the files which have that pattern Quote
Potugaduu Posted September 4, 2016 Report Posted September 4, 2016 4 minutes ago, chandu_babu said: Grep -Ri "pattern" will give all all the directories(actually path) and the files which have that pattern Hey u look like SSR. Ki kii kki Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.