RE: [cNFS-Users] Question from a newbie
Brought to you by:
warnes
From: Warnes, G. R <gre...@gr...> - 2003-06-09 14:20:01
|
Most unix shells convert the sequence $$ to the process ID of the shell. To create a file with these characters from the shell, you need to excape the dollar sign characters, like so: touch filename\$\$CLIENT\$\$ The double dollar-sign character was explicitly chosen so that it would be very unlikely to appear in any normal file name... -Greg > -----Original Message----- > From: Michael Langan [mailto:Mic...@gm...] > Sent: Monday, June 09, 2003 10:09 AM > To: clu...@li... > Subject: [cNFS-Users] Question from a newbie > > > Hello, > > I'm new to MOSIX / ClusterNFS configuration. I'm following > the Queenbee > recipe at the moment but am stuck when trying to create the $$CLIENT$$ > files. Every time I create them, instead of getting the '$$' > bit I get a > spurious number instead e.g. 1092CLIENT1092 etc. (Doing an 'echo $$' > will also return the same number.) The shell I'm using is > /bin/bash. Is > there any way around this? Is it critical? Does anybody know why this > should happen? > > Reply personnally if you like. > Many TIA, > Mike. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > ClusterNFS-Users mailing list > Clu...@li... > https://lists.sourceforge.net/lists/listinfo/clusternfs-users > LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. |