Two things: - You're missing a slash from the beginning. - You're using "*" for matching several files. This needs shell expansion, so it must be run in shell. Do it like this: Code: sh -c "rm /home/user/.cache/data/twitter/twcache*"
sh -c "rm /home/user/.cache/data/twitter/twcache*"