Tag Archives: unix

MAVEN_OPTS

how to set MAVEN_OPTS:

export MAVEN_OPTS=”-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m”

unix mount windows share

my work setup at work is still the same… win7 with a vmware guest redhat which i work on… a big part of the company is windows based, thats why i need to have access outside of the unix… one way is good old copy-paste… an other is webmail… and the next, which i actually use a lot is mounting… so here is the mount command, which i normaly need to google all the time 🙂

mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver

delete files older then X days

who to find and delete files older then X days:

find . -mtime +5 -exec echo rm -rf {} \;

remove the echo to really execute.