Where's the trash folder in Bash

I am trying to find the trash bin on bash but til now I could not find where is.

Any help, I will appreciate.

Thanks in advance.

I have an Alias that worked on Ubuntu, but I can’t make it work in Clear.

if [ -x "${_trash}" ]; then
  alias xxx=$(which rm);
  alias rm="${_trash}";
  cat >&2 << 'HERE1';
Aliased 'rm' to 'trash'.  Use 'xxx' for standard 'rm'.
  cat >&2 << 'HERE2';
Could not find 'trash' and 'rm' has NOT been aliased to it.

There’s no such thing.

1 Like


this is not working properly