Loops files in the given directory and prints files with extension .log. 1. 2. 3. 4. 5. 6. #!/bin/sh. DIR= '/var/log/myapp/'. for FILE in ls "$DIR" *.log.
確定! 回上一頁