Skip to main content

Posts

Which is the Best Linux Distribution for your Desktop?

Linux today comes in several different flavors or distros as they are known in Linux circles. Some Linux distributions are light-weight (they’ll run just fine on your old laptop), some are targeted at people who just want to try out Linux without replacing their main OS while other desktop distros (say Ubuntu) include a more comprehensive collection of software applications and also support a wide variety of hardware devices. Choose the Right Linux Distro for your Desktop Ubuntu, Xubuntu, Xandros, Knoppix, Fedora, openSUSE etc. are just some of the popular Linux distros but you’ll be surprised to know that there exists over 650 active distros in the world according to  DistroWatch , a site that tracks the popularity of various Linux distributions. Determining the perfect Linux distribution that will meet your requirements can therefore be a difficult task so here’s a handy guide that lists different scenarios and the Linux distros that will be the most appropriate for each of ...

Top 15 Ways to Extend Your Laptop’s Battery Life

Laptops tend to lose their charm quickly when you’re constantly looking for the nearest power outlet to charge up.  How do you keep your battery going for as long as possible?  Here are 15 easy ways to do so. 1. Defrag regularly -  The faster your hard drive does its work – less demand you are going to put on the hard drive and your battery.  Make your hard drive as efficient as possible by defragging it regularly. (but not while it’s on battery of course!) Mac OSX is better built to handle fragmentation so it may not be very applicable for Apple systems. 2. Dim your screen – Most laptops come with the ability to dim your laptop screen.  Some even come with ways to modify CPU and cooling performance.  Cut them down to the lowest level you can tolerate to squeeze out some extra battery juice. 3. Cut down on programs running in the background.  Itunes, Desktop Search, etc.  All these add to the CPU load and cut down battery life.  Shut do...

Linux logout user or logoff user commands

Q. How do I logout Linux user? A. root or admin user can logout any user forcefully. If you are logged in as vivek and just wanted to logout or logoff, type logout command or hit CTRL+D: -----------------------------------------------------------  $ logout You will be logout of a login shell session or secure shell session. Task: Linux logout user If you would like to logout other users, you must login as root user. Next you need to use pkill command.   pkill command syntax pkill -KILL -u {username} -----------------------------------------------------------   To see list of logged in user type who or w command: # who OR # w ----------------------------------------------------------- To logout user called raj, enter: # pkill -KILL -u sam OR $ sudo pkill -KILL -u sam -----------------------------------------------------------

Find a file by name in UNIX/Solaris/Linux

Using the find command, locate a file by name To find a file such as filename.txt anywhere on the system: find / -name filename.txt -print Recent operating system versions do not require the print option because this is the default. To limit the search to a specific directory such as /usr: find /usr -name filename.txt -print