I'm using Ubuntu on my personal laptop, and on my system, whenever I use
rm on a file, it is gone. for good.
The problem is on my university server.
I am trying to delete a folder: environment/tests from my home directory. To my big surprise, when I use rm environment/tests (for some strange reason, rm does not require the -R option in order to delete a folder on the university server...), this is what I get:
u2 **** 114 : rm environment/tests /bin/mv: cannot move `environment/tests/' to `/u/stud/****/../TrashCan/****/tests': File exists u2 **** 115 :
(the **** are replacement for my username)
So I tried to remove it from the Trash can, but realized it's a recursive call... :)
u2 **** 157 : rm ~/../TrashCan/****/tests /bin/mv: `/u/stud/****/../TrashCan/****/tests' and `/u/stud/****/../TrashCan/****/tests' are the same file u2 **** 158 :
First of all, what does mv has to do here? (notice it is a /bin/mv error)
Second, how can I delete this folder once and for all?
In fact, while I'm at it, I'd like to completely empty the TrashCan. But again, this:
u2 **** 169 : rm * ~/../TrashCan/
Does not work.
The server runs the following version:
u2 **** 170 : uname -a Linux u2 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux u2 **** 171 :