Skip to main content

Posts

Showing posts from December, 2009

How to uninstall or remove old kernels in Ubuntu

Ubuntu always keeps the old kernel even after installing a new kernel. This is done just in case the new one doesn’t work well for you. Now if you don't want the old kernels anymore then use the command below to remove the old kernel which you wish to remove. $ sudo apt-get remove --purge 2.6.28-11 * replace 2.6.28-11 with the version you wish to remove. Hope this helps...

What is Inbound and Outbound Network Loadbalancing

Network load balancing is now a key feature that is required for all enterprises, especially financial companies. This capability balances network sessions like web, email, etc over multiple connections in order to spread out the amount of bandwidth used by each LAN user, thus increasing the total amount of bandwidth available. Additionally, network load balancing is commonly used to provide network redundancy so that in the event of a WAN link outage, access to network resources is still available via the secondary links. Inbound Load Balancing operates by processing traffic activity from remote users who are requesting information from your local network. Multiple communication channels are utilized for increased bandwidth to accommodate numerous sessions by remote users accessing the network and retrieving requested information. Most networks with Load Balancing capabilities benefit their local users when processing outbound information requests. This setup, inversely is known as

How to make terminal ask for password every time you type sudo command

when you type sudo command for the first time in a terminal it will ask you the sudo password. This password will be remembered by that terminal for 15 minutes by default. If you want terminal to ask for password each time you type sudo command just do as said below. 1. Type at terminal sudo visudo 2. Edit as shown below Change Defaults env_reset to Defaults env_reset,timestamp_timeout=0

How to make a terminal remember sudo passowrd for ever

when you type sudo command for the first time in a terminal it will ask you the sudo password. This password will be remembered by that terminal for 15 minutes by default. If you want that terminal to remember your password for ever during its life time follow these steps. 1. Type at terminal sudo visudo 2. Edit as shown below Change Defaults env_reset to Defaults env_reset,timestamp_timeout=-1

How to Assign Custom Shortcut Keys on Ubuntu 9.10

Ubuntu includes a very limited shortcut key configuration utility which doesn't allow you to assign hotkeys to your own applications or scripts. To get around this limitation, we can use the built-in gconf-editor utility to assign them ourselves. First you'll want to load up gconf-editor by typing it into the Alt+F2 Run dialog. Once in the application, navigate to the following key. apps \ metacity \ keybinding_commands You'll notice a bunch of values on the right. These are the available commands that you can create for assigning to shortcut keys in the next step. Double-click on command_1 and enter in the full path to your script or executable that you are trying to run. (Note that you can use the which command from the shell to find the path most of the time) Now navigate to the key "global_keybindings", which is directly above the one we were on. Here you will want to select run_command_1. Enter in the shortcut key in plain text. For instance, f

Google Chrome is now available for Linux

Google released a beta version of Chrome for Linux and browser extensions for users of beta and developer builds. The final step for Chrome on Linux will be to be released on what Google calls the stable channel, as opposed to the beta and developer channels. Google's design goals for Chrome, which represents the foundation of the company's forthcoming Chrome OS, remain focused on speed, stability, and security. As an example, Chrome isolates each browser tab so that buggy Web page code will only crash the tab and not the entire browser. Chrome's multiprocess architecture is also a way to protect users from poorly coded or malicious extensions. Download and install it from here

How to display free disk space of drives (hard disk)

The df utility displays statistics about the amount of free disk space on the specified file system or on the file system of which file is a part. Values are displayed in 512-byte per block counts. If neither a file or a file system operand is specified, statistics for all mounted file systems are displayed. Use df -h to see the output "Human-readable" output. Uses unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte. # df -h Example: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 19G 14G 4.0G 78% / tmpfs 501M 0 501M 0% /lib/init/rw udev 10M 48K 10M 1% /dev tmpfs 501M 0 501M 0% /dev/shm

How to download and convert Youtube videos in Linux

Utube Ripper is an application written in Gambas that works exclusively on Linux. It's useful to download and convert Youtube videos in a simple and efficient way. You can also convert them into a non-flash format. You can use the "Rip audio only" option to extract audio from a YouTube video and can convert into an MP3 format. Download and install 1. Download the binary from here and run it to install on any linux machine. 2. Select the binary specific for your Linux Distro from here. Visit project home page Here

Diamond-like DVD that will last for centuries and is not susceptible to failure

"Never use rewritable discs for long-term storage." — Library of US Congress Website "Storage media such as compact discs and DVDs that were thought to last, don't — they often fail within a few years." The inventor of the Cranberry DiamonDisc, has eliminated all the failure points in DVD technology. The result is a diamond-like DVD that will last for centuries and is not susceptible to failure. The Cranberry DiamonDisc has no adhesive layers, dye layer or reflective layer to deteriorate. A high-intensity laser physically etches your information into the diamond-like surface of our synthetic stone disc. No other layer is needed. The format is the same as any other DVD. We changed only the materials and construction of the physical disc. And the Cranberry DiamonDisc is fully backwards-compatible. This means that it can be read by any DVD player in any computer and is fully platform-independent. A Cranberry DiamonDisc is transparent. You can see right thr

Convert copy protected PDFs to unprotected, using two simple commands in Ubuntu

Use two simple commands to convert a protected pdf into an unprotected pdf. Here in this example i assume the protected pdf file name to be 'protected.pdf'. Now open your terminal and type. $ pdftops protected.pdf out.ps $ pstopdf out.ps out.pdf The out.pdf will be your unprotected PDF. If you don't have pstopdf and pdftops installed then type this at terminal to install them. $ sudo apt-get install context