check free space
df -h
search file
grep -r UIWebView .
search && replace sting
grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'
#delete all files with a given extension
find . -type f -name '*.meta' -delete
list file permission
ls -l
unzip
unzip file.zip -d destination_folder
rename allfile extension
for x in *; do mv "$x" "${x%}.png"; done
zip file
zip zipfoldername -r dir
zip -r file.zip file
find file
find . -name "xxx.png"
move types of files into one folder
find . -name "*.png" -exec mv "{}" ../../../png/ \;
reboot
sudo reboot
copy files less than 100mb
cd src_folder && find ./folder -size -100M -exec cp -r {} ../new_folder/ \;