Tag Archives: Linux

Text to Image in PHP with GD

This is simple script to demonstrate the capabilities of PHP with the GD library, which provides a lot of image functions that can be useful in many applications. Continue reading

Posted in Tech Notes | Tagged , | 2 Comments

Activate Oracle on XAMPP for Windows

PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions. Continue reading

Posted in Tech Notes | Tagged , , , , , | 5 Comments

Using the ‘exclude’ option with ‘tar’

The meanings of –exclude and –exclude-from are always confusing to me. I’m always confused with the use of ‘exclude’ options with ‘tar’. Continue reading

Posted in Tech Notes | Tagged | Comments Off

Being Nice on a Linux Box – Process priority with ‘nice’ & ‘renice’

VirtualBox can be given higher priority using nice command. Also renice command can be used to change the priority of a running process. Continue reading

Posted in Tech Notes | Tagged , | Comments Off

Shell – How to get surrounding lines of grep result?

Problem:I'm using grep to search for an error and want to display the surrounding lines also as they contain related information. How to do that? Solution:Using grep -C <# of lines to show above and below> <search> <file> The following … Continue reading

Posted in Tech Notes | Tagged | 1 Comment