want to delete all trash but onTerminal it ask for a Password - what is it ?

Asked by Chris on 2013-02-13

On Termnial I request Trash to be Expunged -I put in sudorm-rf etc. It then ask for a password -- What is it ---OR how do I expunge 80 messages

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
2013-02-13
Last reply:
2013-02-13
Chris (chbornman) said : #1

What is the answer ?

On Wed, 2013-02-13 at 06:01 +0000, Chris wrote:
> New question #221751 on gnome-terminal in Ubuntu:
> https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/221751
>
> On Termnial I request Trash to be Expunged -I put in sudorm-rf etc. It then ask for a password -- What is it ---OR how do I expunge 80 messages
>

Jeet (gour-jitendrasingh) said : #2

the password is your sudo password.. (in other mean password you logged in)

try it now

N1ck 7h0m4d4k15 (nicktux) said : #3

BE CAREFUL with the command rm -rf

IS VERY DANGEROUS especially whey your give this command with sudo prefix.

You password is your personal password.. the password you gave when you installed Ubuntu ... when you created your user account.

You must write this password carefully because it will not show anything (like if you not writing)..

Thanks

Where are the files you are trying to delete. Please give absolute folder path.

Thanks

Warren Hill (warren-hill) said : #5

The answer to what password has already been answered. Its your login password

The command

sudo rm -rf

means remove all files in the current directory and all subdirectories, don't question anything just do it.

You must be certain that this is what you want to do because it can not be undone. If done from / for example this command would trash your entire computer.

A slightly safer way to do this is press ALT+F2 and enter

---------------------------
gksu nautilus
---------------------------

This puts you in the file manager with super user powers so you can delete whatever you want,

If you have any doubt about if the files in question should be deleted tell us what they are and wait for one of the more respected users to confirm its OK first.

For a list of the more experienced contributors see here

https://launchpad.net/ubuntu/+topcontributors

Can you help with this problem?

Provide an answer of your own, or ask Chris for more information if necessary.

To post a message you must log in.