Skip to main content

All Questions

0 votes
1 answer
657 views

select lines in file with same string pattern

Let´s suppose I have the following file.txt: asiub sj abq b aia ainp oo test = 123d sub ,. aiba 87ab test = 129szs bq test = aqua ayqvq 133s I want to print only the lines of file.txt that contain ...
aaaaa's user avatar
  • 141
-1 votes
1 answer
137 views

Custom data formatting and pattern matching

I am trying to format custom data using pattern match. I am not getting expected format. Though I am not shell script savvy but I was able to build a script based on references from multiple sources ...
Steve Rick's user avatar
1 vote
1 answer
464 views

My grep for a process returns multiple strings with similar name

I have a script that checks processes on our Linux servers. An example would be we have a component named ebond-dbreader-bbg on server 1 and also a component named ebond-dbreader-bbg-cbrt on server 1....
Nikhil's user avatar
  • 53