Posts

Showing posts from 2016

Copy a folder into another folder in Linux

$ cp -avr /tmp/source/ /tmp/destination The above command will copy the Folder named "source" into destination folder named "destination" The switches are: - a: Retain attributes - v: Verbose - r: Recursively

Environment variables in Linux

Execute the following command to write into the JAVA_OPTS environment variable: # export JAVA_OPTS="-Djava.awt.headless=true -Xmx1024m -XX:MaxPermSize=768m"