Jan
28
2008

How To Setup Disk Quotas For MySQL Database

MySQL server has no support for preventing disk from getting filled up. You need to depend upon external configurations. Let us see how to use standard Linux disk quota to limit user database size.
Suppose you have a user foo on the system as well as on MySQL. Now how do you limit space for [...]

Aug
27
2007

Linux: Find out how many file descriptors are being used

While administrating a box, you may wanted to find out what a processes is doing and find out how many file descriptors (fd) are being used. You will surprised to find out that process does open all sort of files:
=> Actual log file
=> /dev files
=> UNIX Sockets
=> Network sockets
=> Library files /lib /lib64
=> Executables and [...]

Apr
11
2007

Understanding UNIX Multitasks operations and process command

Yet another good article from Martin Streicher , Editor-in-Chief, Linux Magazine that explains UNIX Multitasks (many concepts applies to Linux as well).
From the article:
On UNIX systems, each system and end-user task is contained within a process. The system creates new processes all the time and processes die when a task finishes or something unexpected happens. [...]

Apr
11
2007

Quick Tip: Use remote Linux GUI system, admin tools locally

Technology has changed dramatically in the last decade. OpenSSH is one the best project. It allows you to control remote Linux / UNIX server using command line or GUI tools.
Do you miss GUI configuration server management tools such as Debian network-admin or Redhat/Cent os system-config-* tools/utilities while administrating a Linux server? Do you want [...]

Feb
22
2007

Perl script to monitor disk space and send an email

How to write a perl script that can monitor my disk space under UNIX or Linux and send me an email alert?

There is a nice perl system routine called Perl df or Filesys::DiskSpace. This routine displays information on a file system such as its type, the amount of disk space occupied, the total disk space [...]

Jan
17
2007

Linux command editing examples using cat, ed, and sed

Linux and UNIX - Fast command line editing examples using cat, ed, and sed. Here is why you need to use command line editing tools…
#1: Text editor takes time for small editing
#2: Use command line editing
#3: Save time and impress your friends [ read as look like an elite UNIX hacker ]

[More in [...]

Jan
8
2007

Understanding UNIX process creation

With this tutorial you can explore the life cycle of a process running under the UNIX operating system.
Delve into UNIX process creation

[Read the full Article here...]
Understanding UNIX process creation
Originally from nixCraft by nixcraft

Jan
1
2007

How to send anonymous email from shell prompt using mixmaster

You can send email with attachment via shell script or at shell prompt/command line using mutt or mail command. This will not hide your IP address.
To send anonymous email from shell prompt use Mixmaster, which is the type II remailer protocol and the most popular implementation of it.

[More in this Article..]
How to send anonymous email [...]

Jan
1
2007

How to protect buggy programs from security vulnerabilities under Linux and UNIX

A Buffer overflows is a serious security problem. It allows an attacker to inject executable code of their choice into an already-running application. This ability to run arbitrary code at certain memory addresses is dangerous as attacker being able to execute the instructions from anywhere in memory.
To protect bufferoverflow security vulnerabilities use diehard
With such problems [...]

Dec
13
2006

Linux bash shell command shortcuts and tips

Bourne-again shell (BASH) is default shell for most Linux distro as well as on Mac OS X Tiger, and it can be run on most Unix-like operating systems. It has also been ported to Microsoft Windows within the Cygwin POSIX emulation environment for Windows, and to MS-DOS by the DJGPP project.
This article covers bash shell [...]


Next Page »

2008 (c) Tech Tips, Using the ReviewSaurus Theme : Powered by WordPress