1. Count number of lines on all the files in the current folder
wc -l *
2. Count the number of files on the current directory :
ls | wc -l
3. Print all the line containing word/s in a file
grep -iw "search words" arc.log
grep -iw "search words" arc.log
4. Thread dumping for a process
jcmd 8308 JFR.start duration=100s filename=tempo.jfr
jcmd 8308 JFR.start duration=100s filename=tempo.jfr
0 comments:
Post a Comment
I love to entertain onymous user Comment !