I just want to get the files from the current dir and only output .mp4 .mp3 .exe files nothing else. So I thought I could just do this:
ls | grep \\.mp4$ | g
it is easy try to use this command :
ls | grep \.txt$ && ls | grep \.exe