编写一个 shell 脚本,将当前目录中包含该词的所有文件移动hello到一个名为hello-world.
hello
hello-world
当前目录包含文件a b c d e和f出哪些文件a,c并f包含单词hello。
a b c d e
f
a
c
如何hello在当前目录的文件中搜索该单词并将满足条件的文件移动到另一个目录中hello-world?
command-line bash scripts files
bash ×1
command-line ×1
files ×1
scripts ×1