Archive for the 'Linux' Category

Linux logical volume management

Thursday, August 2nd, 2007

From the LVM HOWTO -

Logical volume management provides a higher-level view of the disk storage on a computer system than the traditional view of disks and partitions. This gives the system administrator much more flexibility in allocating storage to applications and users.
Storage volumes created under the control of the logical volume manager can be […]

Disabling my ThinkPad’s “tap to click” on Fedora

Wednesday, May 2nd, 2007

Thanks to this link. touchpad “tap to click” disable.
I set the following in my xorg.conf:

Option “MaxTapTime” “0″

under the InputDevice Section
 
 

N10-003 is a really difficult to pass. It includes the finest parts of the older Network+ tests. The 1Y0-259 is a Citrix certification exam, which can be easily prepared with the […]

bash error: argument list too long

Monday, March 12th, 2007

If you need to process a large number of files on the command line, you might get an error from bash (1), if the number of files are huge.
I needed to process around 13k HTML files, so my first move was to get all these files into a tar (1) file. The following command gives […]

Batch conversion of jpg files to png

Tuesday, January 23rd, 2007

Make use of bash substring removal

$ for i in *.jpg; do j=${i%.jpg}.png; convert $i $j; done

This, ${i%.jpg} strips the trailing “.jpg” substring from variable i
Need more? Advanced Bash-Scripting Guide
Tweet This Post  Facebook 

svn repository backup

Thursday, January 4th, 2007

This is how I take a backup of our subversion repository.

$ svnadmin dump /var/repos > svn_repos_dump_date
$ gzip -9 svn_repos_dump_date

/var/repos is the path to the repository.
Tweet This Post  Facebook 

Using ifrename for consistent naming of network interfaces

Friday, December 1st, 2006

ifrename (8) is a handy utility to assign consistent names to your network interfaces
My IBM ThinkPad has two network interfaces - ethernet and wireless. I normally use the wireless interface (eth1), but at boot time which hardware device actually picks up which device name is quite random.
I configured my /etc/iftab as follows:

# cat /etc/iftab
eth0 […]

Converting flac files to ogg

Wednesday, November 15th, 2006

Use oggenc

$ oggenc *.flac

Tweet This Post  Facebook 

ibmonitor version 1.4 released

Friday, October 13th, 2006

Released version 1.4 of ibmonitor after a gap of almost two years. Not many changes; don’t think it requires any more features.
But a minor aesthetic change can do wonders. Initially after invocation, there used to be a slight delay before the statistics could be seen on the screen. Well.. the delay is still there, but […]


Tweet This Post links powered by Tweet This v1.4.1, a WordPress plugin for Twitter.