Category Archives: 2.6. Unleash Your System

Memory leak is possible in Java

I previously thought that if I pick Java for programming, I don’t need to worry about allocating and free up memory as in C++. Certainly, Java memory management does help us to minimize the chance of memory leak. However, it does not eliminate it. It is confusing right? The key is the definition of memory leak. If [...]

Linux Commands

Grep Pattern matching against a set of files grep [options] “pattern” [filename or wildcard] options: -n : show line number -v: negative result -l: list out the matched filenames -i: case-insensitive -x: exact match -r: recursively over the directory. grep does not support + and ? and | operators. Use egrep instead. Regular expression for pattern (reference [...]

Page 2 of 212