How to fix Missing Date and Time in Menu Bar in Ubuntu 14.04 LTS

All of a sudden, the “Menu Bar” (equivalent to what we call Taskbar in Windows) on my Ubuntu has stopped showing me date & time for some unknown reasons. My first instinct were to check the System Settings -> Time and Date

Continue reading

How to change download mirror in Ubuntu

As soon as you begin installing Ubuntu or being downloading packages, the number one question is, Why is this download taking so long?

The answer is simple, probably your mirror is not correctly set and its taking longer to download files. How to fix? simply follow these instructions

Continue reading

Play all media formats on Ubuntu 14.04 LTS Desktop

I still remember the first time I test-drove Mandriva Linux (formerly known as Mandrake), I could run every other audio and video format out-of-the-box without downloading anything (it was a dialup modem era so downloading was a pain-in-the-rear).

Many years after, I finally installed Ubuntu 14.04 LTS on my new laptop but it does not recognize some of my mp3 files and im like “Are you kidding me?”

Im glad I found a solution, there is a package called ubuntu-restricted-extras (read the Wikipedia entry and Ubuntu documentation) that you can install and it support all major media formats, Codecs and even Flash Player. To install, you need to run

sudo apt-get install ubuntu-restricted-extras

Legal Notice Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.

Windows to Linux (Ubuntu 14.04 LTS) Migration

I have been a hardcore Linux user from a Server-OS point of view since many years. Have used CentOS, Ubuntu, Debian and Fedora extensively. I have always recommended and used Linux without hesitation since I knew this is one thing that I cannot be wrong about.

One place where I was reluctant to use Linux iswas my Desktop. My PC, Laptop and Work-Laptop running Windows 7. Although I love the simple interface of Windows, now its time that I try to experiment with a Linux Desktop OS. I am sure that within a few weeks, if not days, I would get in love with my decision which I have been postponing since many years now.

I have chosen Ubuntu 14.04 LTS for this purpose. What follows is my transition from Windows to Linux as my primary-Desktop-OS. I will be documenting my journey extensively in the coming few weeks.

Stay tuned!

Tour de Sri Lanka

I was on a company tour to Sri Lanka starting our journey from Oct 13, 2012 from Lahore airport til Oct 21, 2012 along with my good friend and coworker Hamza. It was an amazing time spent there. Cant believe the country has evolved a lot since the civil war ended in 2009.

Of course, I am not going to talk about the business part but from a personal perspective, the country is outstanding when it comes to hospitality, beauty and special respect for Pakistanis (yes you read it right). Enough chatter, let me share some photos.

LowEndScripts.com / LowEndScript.com

A few months ago, I was on LET trying to create a wiki about all the stuff that people usually ask repeated questions for (including me). I checked that LowEndWiki.com was already registered so I created a LET topic asking if the owner is still on LET and reading that thread and would want to sell/transfer the ownership to me. I later learned that its with Chief. I later contacted him for the same and he said he has plans for it and I should use the current outdated LowEndTalk Wiki, which I am obviously not apart from a few smaller pages.

Coming back to the LET topic I created in the first place, it quickly derailed and to my surprise I found the owner of lowendscript.com, who wanted me to have the domain at no cost. Thats a big ol’ Wow!!

Eversince I took over the domain on Jan 04 2012, I have never got the time to fully complete it which is a big loss at my end and at the awesome domain name I have which can be used as a place to list down all bash(shell), PHP, Python scripts and possibly mirroring them via Amazon S3

Thoughts? please comment

How to find zombie processes on linux

My NAGIOS monitor alerted me that of my dedicated server has 10 Zombie processes, how to find Zombie processes via command line on Linux especially CentOS?

 ps aux | awk '{ print $8 " " $2 }' | grep -w Z 

So it returns state (Z = Zombie) and the process id (PID)

root@sirius [~]#  ps aux | awk '{ print $8 " " $2 }' | grep -w Z
Z 4399
Z 4435
Z 4868
Z 5143
Z 5400
Z 5834
Z 7584
Z 11943
Z 16286
Z 24365

Technically, you cannot kill a zombie process since its already dead but the entry in the process table is not removed because the parent will access the result via the PID in the process table.