예를들어 *.php 화일을 *.html로 바꾼다면... 화일명 : exch for file in $* do p=${$file%.*} mv $file $p.html done 실행 ./exch *.php [enter] 많이 쓰이는 유틸인데 안쓰이는 것 같아서 넣습니다.