#!/bin/bash (cd /var/www/html/redpost/files_redpost$1 && watch -n 1 'head -10 filelist; echo ; tail -10 filelist' )