Skip to main content

Posts

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...