linux之shell scripts (类似dos之批次檔) 例:制做类似dos之diskcopy外部指令 文件名称:diskcopy #!/bin/sh echo -n "Insert source disk in first floppy drive,then hit enter" read ans; dd if=/dev/fd0 of=/tmp/dcopy$$ echo -n "Remove source disk and insert other disk ,then hit enter" read ans; dd of=/dev/fd0 if=/tmp/dcopy$$ /bi