Sometimes you need to look for something (i.e. grep) in file, but you want to see several lines BEFORE and AFTER the line you’re looking for. So, how can you do this in Linux? Try: It looks for text “Deploying” in file catalina.out…
Sometimes you need to look for something (i.e. grep) in file, but you want to see several lines BEFORE and AFTER the line you’re looking for. So, how can you do this in Linux? Try: It looks for text “Deploying” in file catalina.out…