symbolic link
Symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. A symbolic link, also termed a soft link, is a special kind of file that points to another file, much like a shortcut in Windows or a Macintosh alias. Unlike a hard link, a symbolic link does not contain the data in the target file. It simply points to another entry somewhere in the file system. This difference gives symbolic links certain qualities that hard links do not have, such as the ability to link to directories, or to files on remote computers networked through NFS. Also, when you delete a target file, symbolic links to that file become unusable, whereas hard links preserve the contents of the file.
To create a symbolic link in Unix, at the Unix prompt, enter:
ln -s source_file myfile
ln -s source_directory
Dynamic Binding / Late Binding VS Static Binding / Early Binding
Static Binding: if the binding is occur at compile time of our source code is called static binding
Dynamic Binding: if the binding is occur when interpreter our class fine then that binding is called Dynamic Binding.
Statis Binding : Initialize the variable like private static HashMap map new HashMap();
Dynamic Binding: Initialize the variable like private HashMap map; and somewhere in the method do map new HashMap();
vi or vim Bash editor for linux
VI Editor Commands
Vi has two modes insertion mode and command mode.
The editor begins in command mode, where cursor movement and copy/paste editing occur.
Most commands execute as soon as typed except for “colon” commands which execute when you press the return key. Continue reading
How you define Maturity in simple words?
Maturity is the ability to control anger and solve differences without any violence.
Maturity is to give up immediate pleasure or happiness for long-term gain or benefits. Maturity is patience, humility, humbleness, and modesty. Maturity is the capacity to face unpleasantness and frustration, discomfort and defeat, without complaint or collapse. Maturity is to accept faults when done wrong. Maturity is to have respect for others. Maturity is the ability to make a decision and stand by it. Maturity means dependability, keeping one’s word, coming through in a crisis.
The immature spend their lives exploring endless possibilities; then they do nothing. The immature are masters of the alibi and excuses. They are the confused and the disorganized. Their lives are full of broken promises, former friends, unfinished business, and good intentions that somehow never materialize.
Maturity is the art of living in peace with that which we cannot change, the courage to change that, which should be changed – and the wisdom to know the difference.