Find processor (cpu) information on linux

Here is the commandcat /proc/cpuinfoExample use on my ubuntu machine, It shows /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 15model name : Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHzstepping : 13cpu MHz : 800.000cache size : 1024 KBphysical id : 0siblings : 2core id : 0cpu cores : 2apicid : 0initial apicid … Continue reading Find processor (cpu) information on linux

Getting wireless working on ubuntu machine

Please follow following steps blindly to get wireless working on ubuntu machine.Here are the steps...On a fresh clean Ubuntu machine:1. Disable the "Support for Atheros 802.11 wireless LAN cards" on Hardware Drivers, and reboot your box.2. In a terminal:2.1 Updates all package lists# sudo apt-get update2.2 Update driver.# sudo apt-get install linux-backports-modules-intrepid-generic3. Reboot.Thanks to Gautam, … Continue reading Getting wireless working on ubuntu machine

Converting dos(windows) files to unix files

While using windows we get ^M characters in files that will get displayed when you open files on unix machines.To remove such ^M characters,Install dos2unix package usingsudo apt-get install sysutilsConvert individual filedos2unix file_pathRun following command to convert recursively all the files inside directory.find . -type f -exec dos2unix {} \;sudo apt-get install sysutils

jruby rails installation on ubuntu interpid

# install mysql if you dont have already installedsudo apt-get install mysql-server mysql-client libhtml-template-perl mailx dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca# install ant and jdksudo apt-get install ant sun-java6-jdk# install jrubymkdir softwarecd softwarewget xvfz jruby-bin-1.1.5.tar.gzln -s jruby-1.1.5 jrubyexport PATH=$PATH:$HOME/software/jruby/bin# install the version of rails wanted by jrubyjruby -S gem install jruby-openssljruby -S gem install rails# list … Continue reading jruby rails installation on ubuntu interpid