Skip to content

find down tree literal character string with special character, at end

find . -ls | egrep ‘\.nb’   finds .nb anywhere

find . -ls | egrep ‘\.nb$’ finds .nb at end of string

Published inUnix Hint

Comments are closed.