http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting
http://www.daniweb.com/hardware-and-software/linux-and-unix/getting-started-and-choosing-a-distro/threads/41955


sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get cleansudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean && sudo bleachbit && exit
archolman wrote:You do have to work at installing malware on *Nix-type OS'. In general, just clicking on, say, a rogue anti-virus check won't install the hidden malware, as the process is not automatic, but has to be managed by the system admin, (that's you). In that respect, it's a lot more secure than Window$.
Browser security is another matter. I run NoScript in my Firefox install, which, used properly, helps prevent browser abuse. However, the first line of defence is YOU. And the biggest security hole is YOUR ON-LINE BEHAVIOUR.
Defragging/compacting the HDD under GNU/Linux.
As GNU/Linux uses the "Ext3" & Ext4" file-system, it keeps itself defragged. However, regularly compacting & de-crufting the drive is good practice.
On the boot screen, there are 2 Linux kernels to choose from. Choose the "recovery" option, & then select "Make space" (It's called that, or something similar). This will do just that. Reboot.
(The following is for Debian-based distros, e.g.Ubuntu. Other distros will have a different method of running as Admin, or Super User, probably by prefixing the command with "su".
For further de-crufting, open a terminal, & copy & paste this string:
- Code: Select all
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
Press "Enter". It will ask for the sudo (admin) password.
Type it in & press "Enter".
I also use an app called Bleachbit, which should be in the repository of your flavour of GNU/Linux a GUI-based tool for removing even more cruft, such as rotated logs, various caches, unwanted language files, etc, etc. BE CAREFUL WHEN SELECTING THE ACTIONS YOU WANT IT TO DO. READ & CHECK THE LIST CAREFULLY.
Click on an item in the list for further details before ticking the box.
An expansion of the simple script above will upgrade your system, clean up, & run bleachbit:
- Code: Select all
sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean && sudo bleachbit && exit
When using this script, wait till Bleachbit has finished, then press "Alt + F4". This closes both windows.
(I run this script weekly)

Users browsing this forum: No registered users and 0 guests