I am using Ubuntu in Win10, but I can not find the trash folder, even when I use the command
mv ~/.Trash/foo ~/ mv: cannot stat '/home/man/.Trash/foo': No such file or directory
My question is that how can I open trash folder in Ubuntu/Win10?
WSL provides a Linux-compatible kernel interface developed by Microsoft (containing no Linux kernel code), which can then run a GNU user space on top of it. Such a user space might contain a Bash shell and command language, with native GNU/Linux command-line tools (sed, awk, etc.), programming language interpreters (Ruby, Python, etc.).
Trash is located in
~/.local/share/Trash at least in Ubuntu.
~/.local – or more precisely,
~/.local/share – is where XDG-compliant programs store user data (e.g., fonts, mail messages) according to the XDG Base Directory specification.
Since Ubuntu as a WSL isn't what you expect from Ubuntu OS. WSL only provides you bash(or terminal) and no GUI. So there is no point of having a
Also, whenever file is deleted from file manager like Nautilus, Thunar, they are actually moved into
~/.local/share/Trash. Files are usually deleted using
rm from Terminal and doesn't moves that to Trash folder.
So there is no trash folder in WSL.