Skip to content

Tag: linux

grep the filename using sed

I have the following line I would like to get and change just the (result_0.01) part to a different text which might include numbers. Preferably I would like this to be done using sed. Thank you in advance. Answer what happens here in sed part is: we substitude (s flag at the beginning of sed) we find everyth…

Bash script wait depended commands processes

I am fairly new in bash scripting. I need to use bash script for manage my microservices, so these services need build and deploy(on docker). So I have commands like that : So as you see(a little part of script, i am grouping depended commands in functions),commands need to wait previous depended commands lik…