2009/12/30

Copy directories on FreeBSD!

Having no idea abt how to copy the folders!?

Try below:


cp -iprv /source /dist

i -> Interactive. Will prompt you if overwriting files.
p
-> Preserve file attributes like date, time, etc.
r
-> Recursive. Will also copy subdirectories.
v
-> Verbose. Will show each file as it is copied.

2009/12/10

Install JVM on Ubuntu

Use apt-get!! (That really DOES make your life easier.)

1. install jre
sudo apt-get install sun-java6-jre

2. install jdk
sudo apt-get install sun-java6-jdk

3. select default JVM
sudo update-alternatives --config java

DONE!!