In a directory, I have files likelazer_100506lazer_100707lazer_091211lazer_110103lazer_100406_templazer_100622#deleteetcHow can I get a listing of only the first four files?$ ls lazer_......ls: lazer_......: No such file or directory$ 
How can I search for a file with fixed name length using ls?
shell;ls;wildcards
There are multiple methods:ls onlyls lazer_??????ls and egrepls | egrep '^lazer_.{6}$'findfind . -regextype posix-egrep -regex '^./lazer_.{6}$'