close
[sean@station62 tmp]$ for name in {1..10}
> do echo $name
> done
1
2
3
4
5
6
7
8
9
10
-----
[sean@station62 tmp]$ ls
file1.html file3.html file5.html file7.html file9.html
file2.html file4.html file6.html file8.html
[sean@station62 tmp]$ for name in *
> do mv $name $name.php
> done
[sean@station62 tmp]$ ls
file1.html.php file3.html.php file5.html.php file7.html.php file9.html.php
file2.html.php file4.html.php file6.html.php file8.html.php
---
全站熱搜