Grep result page by page
>grep 'updataed statistic -' info.log | less.
>Use arrow key to nevigate the result.
>Enter letter 'q' to exit from the results.
Reference link:
http://stackoverflow.com/questions/4321755/how-can-i-see-many-grep-results-page-by-page
Google Analytics
Showing posts with label LINUX GREP. Show all posts
Showing posts with label LINUX GREP. Show all posts
Tuesday, October 21, 2014
Thursday, July 31, 2014
JAVA Could not find or load main class
If below type error occur:
Java and cmd "Could not find or load main class"
-bash: ./xxx.sh: /bin/sh^M: bad interpreter: No such file or direct
>>Format the xxx.sh from unix.
>>: set fileformat=unix
More info:
http://lanvu.wordpress.com/2012/01/06/linux-shell-scripting-bad-interpreter-no-such-file-or-directory/
Subscribe to:
Posts (Atom)