How to get Hard Disk Details on Linux

Here’s a quick way to find out more about your hard disk. You can get the serial number, part number, firmware level, size and much more. Just see the sample below. hdparm -I [device] hdparm -I /dev/sda [danesh@pandora Movies]$ sudo hdparm -I /dev/sda `/dev/sda: ATA device, with non-removable media Model Number: WDC WD2500JS-75NCB3 Serial Number: WD-WCANKF265386 Firmware Revision: 10.02E04 Standards: Supported: 7 6 5 4 Likely used: 8 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 – CHS current addressable sectors: 16514064 LBA user addressable sectors: 268435455 LBA48 user addressable sectors: 488281250 Logical/Physical Sector size: 512 bytes device size with M = 10241024: 238418 MBytes device size with M = 10001000: 250000 MBytes (250 GB) cache/buffer size = 8192 KBytes Capabilities: LBA, IORDY(can be disabled) Queue depth: 32 Standby timer values: spec’d by Standard, with device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Recommended acoustic management value: 128, current value: 128 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: ...

2011-11-16 · 2 min · Danesh Manoharan

Install Ubuntu Fonts on Fedora 16

Let’s work from your Downloads folder. cd ~/Downloads Download the Ubuntu Fonts package from Ubuntu. wget http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip Extra the downloaded zip file. unzip ubuntu-font-family-0.80.zip Rename the extracted directory. (Not a must) mv ubuntu-font-family-0.80 ubuntu-font-family Copy the extracted directory to the system shared fonts directory. su -c 'cp -rv ubuntu-font-family /usr/share/fonts/' Set the permissions for the directory you just moved. su -c 'chmod 755 /usr/share/fonts/ubuntu-font-family' Scan and build the fonts cache files for the new Ubuntu files. cd /usr/share/fonts su -c ‘fc-cache ubuntu-font-family’ That’s it, you should now be able to use the Ubuntu fonts in your applications and documents. ...

2011-11-14 · 1 min · Danesh Manoharan

How to install Flash 11 64-bit on Fedora 16

Change into you home directory. cd ~ Download the official Adobe repository package rpm. This rpm will create the repository file for us. sudo wget http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm Install the rpm file. sudo rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm Import the repository GPG key. sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux Update you local yum repositories. sudo yum update Install the 64 bit Flash Plugin sudo yum -y install flash-plugin Check if the install was successful. In Firefox, go to “about:plugins” in the address bar and look for “Shockwave Flash”. If installed you will see; ...

2011-11-09 · 1 min · Danesh Manoharan

How to install Google Chrome on Fedora 16

Fedora 16 just came out and here’s how to get Google Chrome on it. Start by creating a repository file for Google called google.repo and place it in /etc/yum.repos.d/ . sudo vim /etc/yum.repos.d/google.repo<br /> Add the lines below into the repository file. google.repo [google-chrome]<br /> name=google-chrome - 64-bit<br /> baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64<br /> enabled=1<br /> gpgcheck=1<br /> gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub Update yum, sudo yum update Search for Google Chrome, sudo yum search google-chrome Install Google Chrome Stable sudo yum install google-chrome-stable ...

2011-11-09 · 1 min · Danesh Manoharan

How to install RpmForge in Fedora 15

If you need rpmforge on your Fedora 15, here’s how. wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm<br /> rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

2011-06-08 · 1 min · Danesh Manoharan