rename
#find path -type f -name "*.mp3" -exec mv { } target_dir \;
#mp3 file mv dir_file
#digui
#find path -type f -exec rename 's/ /_/g' {} \;
# 检查给的单词是否为字典
#!/bin/bash
word=$1
grep "^$1$" /usr/share/dict/british-english -q
if [ $? -eq 0 ]; then
echo $word is a dictionary word;
else
echo $word is not a dictionary word;
fi