#!/bin/sh # Shell script that displays even numbered lines in a folder ls -l | cat -n | awk 'NR % 2 == 1' | sed -r 's/^.{7}//'