Delete large number of file by ‘find and rm’
March 26, 2009 at 1:04 am | Posted in android | Leave a commentTags: tips, Ubuntu
find ./ -iname ‘test-file-*’ | xargs rm -rf
rm 有最大刪除檔案的限制,大概是 2 萬個,若超過會出現錯誤訊息。
The maximum file limitation of deletion one time about 20 thousand.
VSFTPD
March 11, 2009 at 2:15 am | Posted in android | Leave a commentTags: Ubuntu, vsftp
sudo apt-get install vsftpd
sudo vi /etc/vsftpd.conf
1. anonymous_enable=NO
2. local_enable=YES
3. write_enable=YES
sudo /etc/init.d/vsftpd restart
Create a free website or blog at WordPress.com.
Entries and comments feeds.