ln -s existingDir newDir
Choose default from different installed JREs
sudo update-alternatives --config java
where program
| Variable | Meaning |
|---|---|
| !$ | last argument of last command |
| !! | last command, e.g. sudo !! |
| $? | exit code of last run program |
History is saved in a folder, which is sync'ed via Dropbox-Service, local .history is a symlink to that file:
cp .history .history.bak; mv .history Dropbox/ && ln -s Dropbox/.history .history
[[ condition ]] && doSmthIfConditionIsTrue;