Print the first 256 characters of the output of the command "ls" after removing all characters except for uppercase and lowercase letters, curly braces, dollar signs, exclamation points, number signs, at symbols, percent signs, and ampersands.
ls | tr -dc 'A-Za-z{}$!#@%&' | head -c256 | xargs echo