Hi Paul,

Apology that was typo, I meant ln -s

On Tue, Jul 5, 2016 at 9:17 PM, Paul Gilmartin <
[email protected]> wrote:

> On Tue, 5 Jul 2016 20:39:21 +0530, Peter wrote:
>
> >Hi,
> >
> >I issued
> >
> >ln --s /\$SYSNAME/etc /MaintP21/etc   From /Maintp21 but it gave me a
> >different result
> >
> >etc == > \$SYSNAMEetc
> >
> >so i was expecting
> >
> >etc === > $SYSNAME/etc
> >
> >Could you please point with the correct syntax.
> >
> First, it should be "ln -s", not "ln --s".
>
> I wonder which shell you're using, and what "ln --s" means to it.
>
> >On Tue, Jul 5, 2016 at 8:04 PM, Peter Hunkeler wrote:
> >
> >> The $ is a meta character to the shell; it asks the shell to replace the
> >> variable following the $ with the valur of the variable. If you want to
> >> keep the $ as $, you need to escape it by preceeding it with he
> backslash.
> >>
> >> ls -s  /\$SYSNAME/etc /MaintP21/etc
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to