View Single Post
bibek's Avatar
Posts: 368 | Thanked: 826 times | Joined on May 2012 @ India
#923
Originally Posted by ajalkane View Post
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*"
thanks a lot. Missing the slash is really a dumb mistake