Latest Posts
Tags
awk awk -F awk examples background run script bash awk command grep linux curl disk space docker commands docker usage du find and grep find examples Google Analytics grep -v grep examples java java example linux awk linux command linux find linux grep linux ls ls -al ls -lrt ls examples ls sort ls sort by size mkdir mv mv examples mysql mysql example rm sed sed examples sed tutorial seo Shell tutorial top vim vim examples vim tutorial w wordpress
Tag Archives: grep examples
grep show lines before and after
Usually when searching for keywords, we need to look at the keyword context information, all of which use -A, -B and -C parameters. Show num rows after matching – grep -A Show num rows before matching – grep -B Show … Continue reading
Posted in File & Directory
Tagged grep before after, grep examples, linux command
Comments Off on grep show lines before and after
linux grep regex examples
Grep regex matches the search content according to the specified rule pattern, which can help us find the content we need precisely. Syntax: grep -E “pattern” file Continue reading
Posted in File & Directory
Tagged grep examples, grep regex, linux command
Comments Off on linux grep regex examples
linux find command tutorial: find syntax and examples
linux find – search for files in a directory hierarchy. syntax examples use find command – find file find – type filter explanation where x may be any of: b – block device (buffered); c – character device (unbuffered); d … Continue reading
Posted in File & Directory
Tagged grep examples, linux command, linux find file
Comments Off on linux find command tutorial: find syntax and examples