Check the File System in Ubuntu

Everyone tries to keep their servers and workstations up as long as possible.  However, you do need to reboot your computer to check the file system thoroughly and to clear any cache or temporary files that are in a hung state.

Force your system to run fsck on your file systems during the next reboot. In order to do this, you need to create a file called “forcefsck” in your root “/” folder.

Open up Terminal and type :

sudo touch /forcefsck     Hit the Enter key

sudo shutdown -r now    Hit the Enter key

Be patient while your file system is checked.

 

Clean up Linux with BleachBit

Bleachbit was designed for Linux and Windows.   This program frees up your hard drive space by removing ‘junk’ files and helps to get ride of cache, cookies, internet history, logs and temporary files.  BleachBit cleans more than 70 applications.

Also see Avast! for Linux for virus protection.   After holes were found in Linux that could have been years old, it is a good idea to make sure you are protected.

Top Processes in Ubuntu

Want to find the top running processes in Ubuntu?   Go to the Terminal and type Top.   Top will refresh automatically.

Jon Ward ( a former student and a Linux natural) commented on this posting and I’m posting it here because he is absolutely right -

Use htop instead. it’s a much cleaner interface with more precise information. it’s *much* easier to read. ~ Jon

To the readers from me, here’s how to install -

go to terminal and type – sudo apt-get install htop