Posted by admin on June 26, 2007
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 [...]
Posted by admin on June 24, 2007
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 [...]