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.

On Tue, Jul 5, 2016 at 8:04 PM, Peter Hunkeler <[email protected]> wrote:

>
>
>
> >When I run ln -s command but it is not taking $SYSNAME but it is taking
> SYSTEM/etc
>
>
>
> 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
> --
> Peter Hunkeler
>
> ----------------------------------------------------------------------
> 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