2
votes
1answer
33 views

Can you delete all users but specified accounts in Ubuntu?

I am trying to find a way to quickly delete all user accounts except for the ones I specify in Ubuntu. Is there a good way of doing this? Perhaps a bash script that could do this function? I ...
2
votes
1answer
112 views

Bulk-deleting inbox mails managed by POSTFIX

Had an issue several hours ago with a client mail account, which got compromised. As a result, he had hundreds of thousands of spam queued in postfix, which lead to several issues. Everything's fixed ...
0
votes
1answer
386 views

How to remove ubuntu from up's government laptop

I have got HP Pavilion g4 notebook from UP Government and i want to remove Ubuntu from it and only have windows 7 in it and i want to make disk partition (Local disk C,D,E and F). So please help me.
5
votes
1answer
2k views

Two commands to move files to trash. What's the difference?

trash-cli provide a trash command, and gvfs-bin provides a gvfs-trash command that move files / directories to the trash can. Is there an important difference between these two commands?
3
votes
1answer
2k views

Accidentally deleted .bashrc file in Ubuntu 11.04

I just installed Ubuntu and accidentally deleted .bashrc file in Ubuntu 11.04 Is there a way to recover it or a default one?
0
votes
1answer
852 views

Buttons functionality in Ubuntu on a Macbook pro

I have installed Ubuntu (10.10) on a Macbook pro (6,2). Does anyone know how to get the following buttons functionality: - Delete (fn+backspace doesn't work) - Home - End The keyboard does not have ...
4
votes
4answers
3k views

Ubuntu - permanently remove ~/Videos and ~/Public

I've deleted the folders, but every time I sign back in they're recreated. I've edited ~/.config/user-dirs.dirs and removed the offending lines, but they're replaced when I log back in! The file say's ...
2
votes
1answer
4k views

Ubuntu, delete all files that start with '._'

I want to delete all files that start with ._, when I run this command: me@me:/var/www/my/project$ sudo rm -Rvi ._* rm: cannot remove `._*': No such file or directory I'm pretty sure the . is ...
2
votes
1answer
1k views

delete key on linux does not work

My delete key does not work in ubuntu, it does nothing. I understand that this is a common problem, but I could not solve it with the information I found elsewhere. I ran xev. Pressing the 'a' key ...