December 2011
4 posts
Find files that is larger than n KB in Linux →
find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’
Dec 20th
Trouble in opening CSV formats on Microsoft Excel
When you open a CSV file with Excel, they will check your regional settings, and sometimes depending on your regional setting, they will use comma or semicolon. To let Excel know that you only want one of those type of separators, you should generate your CSV like this: sep=, “col1”,”col2”,”col3”  … or this: sep=;...
Dec 15th
IMAP doesn't exist. PHP must be compiled with IMAP...
If you event get this message from OsTicket, all you have to do is: # yum install php-imap And voila! Problem solved.
Dec 7th
550 Permission denied. Passive mode refused.
If you found this message when you are accessing vsftpd ftp server, then you need to do this: [root@Production]/etc/vsftpd# ftp localhost Connected to localhost (127.0.0.1). 220 (vsFTPd 2.2.2) Name (localhost:xxx): xxx 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> debug Debugging on (debug=1). ftp> ls...
Dec 4th