Hello, The ls *.log trick does not work as bash expands the '*.log' argument before passing it to the ls program. The standard trick is to use only bash built-ins, for instance this should work: echo *.log | xargs rm -f xargs takes care of splitting the command-line argument for you. JB