hi , I am using ubuntu 14.04 LTS . my question is how can I delete the files in trash can using terminal . I have tried rm ~/.local/share/Trash/* but it says no file or directory thanks

Try

sudo apt-get install trash-cli

It works for me in kde, providing commands

trash-put
trash-empty
trash-list
restore-trash

See Click Here.

thanks gribouillis , I read your posts in python forum too .
and as for the site umi 1 had suggested , I could not figure out what it was all about , it is in foreign language and nothing about linux or unix

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.