AW: How to add alias
try touch ".qmail-lokesh&khanna" becuase the bash interprets the & sign as internal command -Ursprüngliche Nachricht- Von: lokesh khanna [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 10. August 2001 13:04 An: QMail Mailling List Betreff: How to add alias Dear all, I am using qmail 1.03-30 on redhat 6.2 box and its working very very fine. I am facing a problem while adding a new alias. I want to create a alias by the name lokesh&khanna ( & sign ) but when i am running touch .qmail-lokesh&khanna its giving below message [1] 16495 bash: khanna: command not found I think its not allowing me to add a user whose username is having & ( and sign ) Is there any way by which i can add this user ? lokesh Engg ISG OPR.
RE: How to add alias
You just have to escape the ampersand character. Try: touch .qmail-lokesha\&khanna I know that will create the file, but I don't know if qmail will handle that. charlie -Original Message- From: Ross Cooney [mailto:[EMAIL PROTECTED]] Sent: Friday, August 10, 2001 10:42 AM To: [EMAIL PROTECTED] Subject: Re: How to add alias On Fri, Aug 10, 2001 at 05:03:33PM +0600, lokesh khanna wrote: > Dear all, > > I am using qmail 1.03-30 on redhat 6.2 box and its working very very > fine. I am facing a problem while adding a new alias. I want to create > a alias by the name lokesh&khanna ( & sign ) but when i am running > touch .qmail-lokesh&khanna its giving below message > > [1] 16495 > bash: khanna: command not found > > I think its not allowing me to add a user whose username is having & ( > and > sign ) not sure if '&' is an odd character.but '.' is. Here is link to the FAQ whic described what to do with '.'s This might be a good place to start investigating the '&'!!! http://cr.yp.to/qmail/faq/incominguser.html#alias-dots Ross _ Ross Cooney Virus Scanner: http://www.antivirus.ie/index.mv?free_scan=1 Perl Tutorial: http://www.cyber-sentry.com/perl/tut.mv?art=1
Re: How to add alias
On Fri, Aug 10, 2001 at 05:03:33PM +0600, lokesh khanna wrote: > Dear all, > > I am using qmail 1.03-30 on redhat 6.2 box and its working very very fine. > I am facing a problem while adding a new alias. > I want to create a alias by the name lokesh&khanna ( & sign ) but when i am > running touch .qmail-lokesh&khanna its giving below message > > [1] 16495 > bash: khanna: command not found > > I think its not allowing me to add a user whose username is having & ( and > sign ) not sure if '&' is an odd character.but '.' is. Here is link to the FAQ whic described what to do with '.'s This might be a good place to start investigating the '&'!!! http://cr.yp.to/qmail/faq/incominguser.html#alias-dots Ross _ Ross Cooney Virus Scanner: http://www.antivirus.ie/index.mv?free_scan=1 Perl Tutorial: http://www.cyber-sentry.com/perl/tut.mv?art=1
Re: How to add alias
lokesh khanna <[EMAIL PROTECTED]> wrote: > > I want to create a alias by the name lokesh&khanna ( & sign ) but when i am > running touch .qmail-lokesh&khanna its giving below message > > [1] 16495 > bash: khanna: command not found This is a shell problem, not a qmail problem. Read the documentation for bash, paying special attention to "special characters" and "escape". Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---
How to add alias
Dear all, I am using qmail 1.03-30 on redhat 6.2 box and its working very very fine. I am facing a problem while adding a new alias. I want to create a alias by the name lokesh&khanna ( & sign ) but when i am running touch .qmail-lokesh&khanna its giving below message [1] 16495 bash: khanna: command not found I think its not allowing me to add a user whose username is having & ( and sign ) Is there any way by which i can add this user ? lokesh Engg ISG OPR.