I have a function defined in my .bashrc as: function lf { /bin/ls -l | grep "^-" ; } It prints the files in the CWD without listing other directories. Suppose I want to 'chmod 600' all the files in the CWD without affecting directories, I try this: chmod 600 `lf` but I get this error: chmod: invalid character `w' in mode string `-rw-------' What am I doing wrong? thanks 8)