By cbaunni, on July 12th, 2010%
He we will introduce a new linux tool called Incron. It is similar to cron, but instead of running commands based on time, it can trigger commands when file or directory events occur. First of all, install incron using the command
sudo apt-get install incron
Before starting to use incrontab, we must give permissions for a user to . . . → Read More: Triggering Commands on File/Directory Changes in Ubuntu
By cbaunni, on June 21st, 2010%
Screen may be the most useful Linux applications when it comes to getting things done through the terminal. This custom screenrc configuration file will provide you with a permanent caption line at the bottom of each window. This caption line will enable you to easily keep track of each terminal window and provide other helpful information . . . → Read More: Custom .screenrc Configuration File
By cbaunni, on March 6th, 2010%
Install bwm-ng and/or iftop as given below:
sudo apt-get install bwm-ng
sudo apt-get . . . → Read More: Check Bandwidth Usage In Ubuntu
By cbaunni, on May 30th, 2009%
Ever wondered how to remove the cache memory in Ubuntu? Linux kernels 2.6.16 and newer provide a mechanism to clear the inode, page, and dentry caches on demand. All you have to do is echo a value to the proc filesystem, and you’re done. Follow the recipe below:
As this is a non-destructive operation and dirty objects . . . → Read More: Free Up Cache Memory in Ubuntu
By cbaunni, on May 11th, 2009%
I was planning to upgrade my home network into Gigabit. Before I start to spend money on it, I wanted to check the capabilities of the network cards on my laptop. Here is how I did it.
Install ‘hwinfo’. Its quite an useful tool as it can check the configuration of any hardware. Refer the manpage of . . . → Read More: Inspecting Network Cards In Ubuntu
By cbaunni, on May 8th, 2009%
The following applies to any linux distribution
Crontab
Crontab is an integral part of most Linux distributions.It is a simple text file that holds a list of commands that are scheduled to be run at specified times. These commands, and their relative run times, are controlled by the ‘cron’ daemon and are executed in the system background.
Each user . . . → Read More: Scheduling Commands With Crontab In Ubuntu
By cbaunni, on May 7th, 2009%
‘whowatch’ is a console, interactive users and process monitoring tool. It displays information about the users currently logged on to the machine, in real-time. Besides the standard informations such as login name, tty, host and the user’s processes, the type of the connection (ie. telnet or ssh) is also shown. A particular user can be selected . . . → Read More: Monitoring Real-time User Logins In Ubuntu 8.04 Server
By cbaunni, on March 15th, 2009%
Today I decided to move my MediaWiki (MW) from the ailing old server to the new one. Overall it was a fairly simple process but I wanted to share a few things that I learned from the experience.
1. The database
a. Creating the backup
The very first thing that I had to do was to create a safe . . . → Read More: Migrating MediaWiki To A New Server