1. Using Grep
Using grep you can do search with this format, grep -A number_of_line search_keyword file, example :
grep -A 3 2016-07-13 file
Command above will get 3 line from file, start from search keyword
2. Using Sed
With sed you can search with this command, sed -n '/start_search_keyword/,/end_search_keyword/p' file, example :
sed -n '/2016-07-13/,/2016-07-19/p' file
Command above will search inside file and show line that include 2016-07-13 to 2016-07-19
Apache (5)
CSS (3)
Docker (6)
Git (5)
Go (1)
Hobbies & Toys (8)
HTML (4)
Javascript (5)
jQuery (3)
Linux Ubuntu (46)
Misc (36)
MySQL (3)
Odoo (13)
PHP (3)
Pipeline (1)
Postgresql (6)
Python (13)
Quote (1)
Qweb (1)
Random Word (1)
Smartphone (1)
SQL Server (1)
Tools (7)
Useful Links (46)
Video (3)
VLC (1)
Vue (1)
Web Server (3)
zuka.one
©2011