How to show file names with special character
ls -alt "a" -> shows nothingls -alt -> shows a[@more@]ls -alt > a.outvi a.out -> you'll see 'a^$'
Java Date timezone problem
Be careful when you're using Date for your java application.When you have a different timezone setting between your application client and the application server host, you may see time different with what you want.Like:Date dt = new Date();It will show you a time with your local timezone, when you're wring a jsp file which need to get the current time, it will not be the server time.Try use Calendar instead:Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT-07:00"));[@m