# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

How do I set the shell prompt in Linux Terminal?
Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory as a promopt. You can easily customize your prompt to display information important to you. You change look and feel by adding colors. In this small howto I will explain howto setup:
a] Howto customizing a bash shell to get a good looking prompt
b] Configure the apperance of the terminal.
c] Apply themes using bashish
d] Howto pimp out your shell prompt?

How do I set the shell prompt in Linux Terminal?

( Permalink: How do I set the shell prompt in Linux Terminal?      Submitted by nixcraft Tue Jun 12, 2007 )

Functions in the BASH prompt
One of theneat things a user can do on Unix is play around with the Bourne Again Shell (bash). An even more interesting thing is how the environment can be tweaked to a particular user's preference. In this text a look at how the Bash prompt can be manipulated by inserting commands and even shell code functions directly into the prompt itself. Link

( Permalink: Functions in the BASH prompt      Submitted by Jay Fink Tue Jun 12, 2007 )

Introducing Remo
Say you have a nasty application on your Apache webserver that has been installed by some people from the marketing department and you can neither remove nor patch it. Maybe it is a time problem, a lack of know-how, a lack of source-code, or possibly even political reasons. Consequently you need to protect it without touching it. There is ModSecurity, but they say this is only for experts. A straightforward alternative is Remo, a graphical rule editor for ModSecurity that comes with a whitelist approach. It has all you need to lock down the application.

( Permalink: Introducing Remo      Submitted by Falko Timme Tue Jun 12, 2007 )

Howto Connect MySQL using C API under Linux / UNIX
MySQL database does support C program API just like PHP or Perl API.

The C API code is distributed with MySQL. It is included in the mysqlclient library and allows C programs to access a database.

Many of the clients in the MySQL source distribution are written in C. If you are looking for examples that demonstrate how to use the C API, take a look at these clients. You can find these in the clients directory in the MySQL source distribution.

This tutorial provides a sample MySQL C program and step by step compilation instructions to kick start MySQL programming via C API.

( Permalink: Howto Connect MySQL using C API under Linux / UNIX      Submitted by nixcraft Tue Jun 12, 2007 )

Six Ways to Keep Code from Destroying You
As a developer, time is your most valuable resource. These six tips on how to write maintainable code are guaranteed to save you time and frustration: one minute spent writing comments can save you an hour of anguish. In this article discover how to keep your code from destroying you.

( Permalink: Six Ways to Keep Code from Destroying You      Submitted by LinucksGirl Tue Jun 12, 2007 )

Create Custom Weather Alerts
Process NOAA WSR-88D radar data using open source image processing tools (GD and Perl) to determine if itís likely to rain soon in a specific location. Create precise detection zones so you can receive a page, SMS, or e-mail a few minutes before the precipitation event, giving you a handy notice of when you can dash inside from your car.

( Permalink: Create Custom Weather Alerts      Submitted by LinucksGirl Tue Jun 12, 2007 )

How to cleanup your GNOME registry?
The other day I stumbled upon this neat tool that helps cleanup your GConf registry, called GConf Cleaner. While GNOME registry size isn't nowhere near the size of Windows registry, and thus shouldn't slow your computer too much, it's still nice to have a tool that cleans unused and obsolete entries. Read more...

( Permalink: How to cleanup your GNOME registry?      Submitted by Zlatko Mon Jun 11, 2007 )

How To Install VMware Server On A Fedora 7 Desktop
This tutorial provides step-by-step instructions on how to install VMware Server on a Fedora 7 desktop. With VMware Server you can create and run guest operating systems (virtual machines) such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free).

( Permalink: How To Install VMware Server On A Fedora 7 Desktop      Submitted by Falko Timme Mon Jun 11, 2007 )

Linux programmers toolbox
Most programmers with Windows background will be forced to make a paradigm shift while embarking to program for Linux. While the Windows programmers could take deceptive comfort within the cozy confines of a Visual IDE, when they make the shift to write Linux programs, they are suddenly faced with the hard facts of programming as it really is. And this book could be an ideal companion for this set of programmers who wish to lessen their learning curve and make programming for Linux a much more pleasurable experience.
Read the review

( Permalink: Linux programmers toolbox      Submitted by Anonymous Mon Jun 11, 2007 )

X11 Forwarding using SSH
One way to enforce the traffic security is to use the SSH by the way of X11 tunneling or port forwarding. SSH was developed to replace the insecure telnet, ftp, rcp, rlogin, rsh software. FreeNX is already perfectly using this technology. In this article I will show, how to forward X11 using ssh without any additional software on the Linux site. Additionally I will explain how to run Linux applications on Windows XP clients using PuTTY and X-Deep/32.

Read more at Linux-Tip.net

( Permalink: X11 Forwarding using SSH      Submitted by Frank Neugebauer Mon Jun 11, 2007 )

Anatomy of the Linux Kernel
The Linux kernel is the core of a large and complex operating system, and while it's huge, it is well organized in terms of subsystems and layers. In this article, you explore the general structure of the Linux kernel and get to know its major subsystems and core interfaces.

( Permalink: Anatomy of the Linux Kernel      Submitted by LinucksGirl Mon Jun 11, 2007 )

Log analyzing with AWStats
AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics,graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy,wap, streaming servers,mail servers and some ftp servers. Full Story

( Permalink: Log analyzing with AWStats      Submitted by dave Fri Jun 8, 2007 )

How To Block Spam Before It Enters The Server
The last few weeks have seen a dramatic increase in spam (once again). Estimates say that spam makes now up for 80 - 90% of all emails, and many mail servers have difficulties in managing the additional load caused by the latest spam, and spam filters such as SpamAssassin do not recognize large parts of that spam as they did before. Fortunately, we can block a big amount of that spam at the MTA level, for example by using blacklists, running tests on the sender and recipient domains, etc. An additional benefit of doing this is that it lowers the load on the mail servers because the (resource-hungry) spamfilters have to look at less emails.

( Permalink: How To Block Spam Before It Enters The Server      Submitted by Falko Timme Fri Jun 8, 2007 )

Virtual Users And Domains With Postfix
This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I will also demonstrate the installation and configuration of Courier (Courier-POP3, Courier-IMAP), so that Courier can authenticate against the same MySQL database Postfix uses.\

( Permalink: Virtual Users And Domains With Postfix      Submitted by Falko Timme Fri Jun 8, 2007 )

A simple script for tracking Web sites
Many Web sites feature RSS feeds and newsletter subscriptions that let you know when they've updated their contents, but unfortunately, a significant number of sites still don't. How can you keep up with them? Let's build a shell script to automate that task. Read more

( Permalink: A simple script for tracking Web sites      Submitted by Askar Ali Khan Fri Jun 8, 2007 )

Featured Articles:
Unix and Linux Podcasting Guide

Expect and SSH

The Linux Enterprise Cluster

Book Review: Podcasting: Do-It-Yourself Guide

Remote Backups With Rsync

Weakness and Security

Essential CVS

Spring Into Technical Writing

Other News:
Biodiesel Resources

Older News

The Perfect Server - CentOS 4.5 (32-bit)
(Tue Jun 5, 2007)

Transfer files securely with SFTP
(Tue Jun 5, 2007)

Five days with the Classmate PC and Mandriva
(Tue Jun 5, 2007)

Retrieving Emails With fetchmail
(Tue Jun 5, 2007)

Developing a file system for AIX
(Tue Jun 5, 2007)

Using Ruby On Rails With Apache2 On Debian
(Thu May 31, 2007)

Linux Volume Encryption: TrueCrypt vs DM_Crypt
(Thu May 31, 2007)

Kiosktool locks down KDE users' desktops
(Thu May 31, 2007)

Customize Your Shell
(Thu May 31, 2007)

Filesystem Encryption Tools for Linux
(Wed May 30, 2007)

How-To set up a LDAP server and its clients
(Wed May 30, 2007)

Backing up MySQL data
(Wed May 30, 2007)

Fixing a scanner broken by the Feisty upgrade
(Wed May 30, 2007)

Open Web Analytics for WordPress
(Wed May 30, 2007)

PC-BSD 1.3.4 review
(Tue May 29, 2007)

Linux Distribution Guide
(Tue May 29, 2007)

The Perfect Desktop - PCLinuxOS 2007
(Tue May 29, 2007)

nBox - Envision your network with nBox
(Tue May 29, 2007)

QoS And Traffic Shaping For VoIP Users
(Mon May 21, 2007)

Howto install a free NX Server on Debian 4.0
(Mon May 21, 2007)

How To Install VMware Server On CentOS 5.0
(Mon May 21, 2007)

New GCC 4.2.0
(Mon May 21, 2007)

Free replacements for Windows Fonts
(Mon May 21, 2007)

A Guide to Virtualization on Mandriva Linux 2007
(Thu May 17, 2007)

Increase ext3 and ReiserFS filesystems Performance
(Thu May 17, 2007)

Tiny Tiny RSS: A very very useful RSS reader
(Thu May 17, 2007)

Optimize AIX 5L: Monitoring your CPU, Part 3
(Thu May 17, 2007)

Anatomy of the Linux Slab Allocator
(Thu May 17, 2007)

Content filtering and virus checking
(Tue May 15, 2007)

Encrypted home partition in Linux
(Tue May 15, 2007)

[Latest News] [Newer News] [Older News]

Our content can be syndicated: Main Page Mac Page
(Validate RSS code)

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author