Monthly Archives: May 2010

Display CPU Temperature Graphically using a Panel Applet in Ubuntu

“sudo apt-get install sensors-applet” Right-click on any panel and add the new applet, then easily configure it to display the temperature, fan speed, HDD temperature …etc

Tagged , , | Leave a comment

know the return value of a native (c) program in linux

Hi folksuse this command:echo $?to know the return value of a native program in Linux.try it yourself: scenario 1: more echo $? #(watch the result, it will be 1, which means unsuccess) scenario 2: echo "hello world" > filemore fileecho … Continue reading

Tagged , | Leave a comment

Create NTFS Partition with gparted in Ubuntu

The “ntfs” option is dimmed by default, to enable it you should install the necessary package: “sudo apt-get install ntfsprogs” That’s it, just re-open gparted and you’re ready to go 🙂

Tagged , , , | Leave a comment

Get CPU Temperature From Command Line in Ubuntu

more /proc/acpi/thermal_zone/THM0/temperaturemore /proc/acpi/thermal_zone/THM1/temperature As I have two processors “THM0” and “THM1” Source

Tagged , , | Leave a comment

Permanently Blacklist a Kernel Module in Ubuntu

Edit “/etc/modprobe.d/blacklist.conf” Add the module you want to remove, e.g. to blacklist the “kvm_intel” module, add this line “blacklist kvm_intel”

Tagged , , | Leave a comment