Find all files in the /var directory (not including subdirectories) and execute the command 'sed -n 100q' on the first 100 lines of each file.
find /var -mindepth 1 -maxdepth 1 ! -type d -exec sed -n 100q\;