From: "Free VSD" <[EMAIL PROTECTED]>

> Dear Sir,
> 
> Can anyone let me know how to shorted the command of:
> 
> makemap hash /etc/virtusertable.db < /etc/virtusertable
> 
> to simply:
> 
> newmapping (or makevirtmap or whatever easier to do)
> 


With a shell script.

1) Make a file called newmapping and in it put the two lines:


#!/bin/sh
makemap hash /etc/virtusertable.db < /etc/virtusertable


2) chmod 755 newmapping
3) mv newmapping /usr/bin

Reply via email to